Skip to content
Snippets Groups Projects
Commit 2f1ecfb5 authored by tbrehm's avatar tbrehm
Browse files

Fixed: FS#1047 - php scripts with suexec do not work togetherv with redirects...

Fixed: FS#1047 - php scripts with suexec do not work togetherv with redirects (proposed solution included)
parent 327f28a3
No related branches found
No related tags found
No related merge requests found
...@@ -128,6 +128,14 @@ ...@@ -128,6 +128,14 @@
Order allow,deny Order allow,deny
Allow from all Allow from all
</Directory> </Directory>
<Directory {tmpl_var name='web_document_root'}>
AddHandler fcgid-script .php .php3 .php4 .php5
FCGIWrapper <tmpl_var name='fastcgi_starter_path'><tmpl_var name='fastcgi_starter_script'> .php
Options +ExecCGI
AllowOverride <tmpl_var name='allow_override'>
Order allow,deny
Allow from all
</Directory>
</tmpl_if> </tmpl_if>
<tmpl_if name="rewrite_enabled"> <tmpl_if name="rewrite_enabled">
...@@ -286,6 +294,14 @@ ...@@ -286,6 +294,14 @@
Order allow,deny Order allow,deny
Allow from all Allow from all
</Directory> </Directory>
<Directory {tmpl_var name='web_document_root'}>
AddHandler fcgid-script .php .php3 .php4 .php5
FCGIWrapper <tmpl_var name='fastcgi_starter_path'><tmpl_var name='fastcgi_starter_script'> .php
Options +ExecCGI
AllowOverride <tmpl_var name='allow_override'>
Order allow,deny
Allow from all
</Directory>
</tmpl_if> </tmpl_if>
<tmpl_if name="rewrite_enabled"> <tmpl_if name="rewrite_enabled">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment