Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
ISPConfig 3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lunitrixx
ISPConfig 3
Commits
c0a1a4d4
Commit
c0a1a4d4
authored
11 years ago
by
Till Brehm
Browse files
Options
Downloads
Patches
Plain Diff
Fixed: FS#3165 - .php5 files are not run as FastCGI on OpenSuSE Linux
parent
87f67a5a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
server/conf/vhost.conf.master
+8
-2
8 additions, 2 deletions
server/conf/vhost.conf.master
with
8 additions
and
2 deletions
server/conf/vhost.conf.master
+
8
−
2
View file @
c0a1a4d4
...
@@ -179,7 +179,7 @@
...
@@ -179,7 +179,7 @@
</IfModule>
</IfModule>
</tmpl_if>
</tmpl_if>
# Clear PHP settings of this website
# Clear PHP settings of this website
<FilesMatch "\.ph(p
3?
|tml)$">
<FilesMatch "
.+
\.ph(p
[345]?|t
|tml)$">
SetHandler None
SetHandler None
</FilesMatch>
</FilesMatch>
<tmpl_if name='php' op='==' value='mod'>
<tmpl_if name='php' op='==' value='mod'>
...
@@ -250,6 +250,9 @@
...
@@ -250,6 +250,9 @@
<Directory {tmpl_var name='web_document_root_www'}>
<Directory {tmpl_var name='web_document_root_www'}>
AddHandler fcgid-script .php .php3 .php4 .php5
AddHandler fcgid-script .php .php3 .php4 .php5
FCGIWrapper <tmpl_var name='fastcgi_starter_path'><tmpl_var name='fastcgi_starter_script'> .php
FCGIWrapper <tmpl_var name='fastcgi_starter_path'><tmpl_var name='fastcgi_starter_script'> .php
FCGIWrapper <tmpl_var name='fastcgi_starter_path'><tmpl_var name='fastcgi_starter_script'> .php3
FCGIWrapper <tmpl_var name='fastcgi_starter_path'><tmpl_var name='fastcgi_starter_script'> .php4
FCGIWrapper <tmpl_var name='fastcgi_starter_path'><tmpl_var name='fastcgi_starter_script'> .php5
Options +ExecCGI
Options +ExecCGI
AllowOverride <tmpl_var name='allow_override'>
AllowOverride <tmpl_var name='allow_override'>
<tmpl_if name='apache_version' op='>' value='2.2' format='version'>
<tmpl_if name='apache_version' op='>' value='2.2' format='version'>
...
@@ -262,6 +265,9 @@
...
@@ -262,6 +265,9 @@
<Directory {tmpl_var name='web_document_root'}>
<Directory {tmpl_var name='web_document_root'}>
AddHandler fcgid-script .php .php3 .php4 .php5
AddHandler fcgid-script .php .php3 .php4 .php5
FCGIWrapper <tmpl_var name='fastcgi_starter_path'><tmpl_var name='fastcgi_starter_script'> .php
FCGIWrapper <tmpl_var name='fastcgi_starter_path'><tmpl_var name='fastcgi_starter_script'> .php
FCGIWrapper <tmpl_var name='fastcgi_starter_path'><tmpl_var name='fastcgi_starter_script'> .php3
FCGIWrapper <tmpl_var name='fastcgi_starter_path'><tmpl_var name='fastcgi_starter_script'> .php4
FCGIWrapper <tmpl_var name='fastcgi_starter_path'><tmpl_var name='fastcgi_starter_script'> .php5
Options +ExecCGI
Options +ExecCGI
AllowOverride <tmpl_var name='allow_override'>
AllowOverride <tmpl_var name='allow_override'>
<tmpl_if name='apache_version' op='>' value='2.2' format='version'>
<tmpl_if name='apache_version' op='>' value='2.2' format='version'>
...
@@ -282,7 +288,7 @@
...
@@ -282,7 +288,7 @@
Allow from all
Allow from all
</tmpl_if>
</tmpl_if>
</Directory>
</Directory>
AddHandler php5-fcgi .php
AddHandler php5-fcgi .php
.php3 .php4 .php5
Action php5-fcgi /php5-fcgi
Action php5-fcgi /php5-fcgi
Alias /php5-fcgi {tmpl_var name='document_root'}/cgi-bin/php5-fcgi-{tmpl_var name='ip_address'}-{tmpl_var name='port'}-{tmpl_var name='domain'}
Alias /php5-fcgi {tmpl_var name='document_root'}/cgi-bin/php5-fcgi-{tmpl_var name='ip_address'}-{tmpl_var name='port'}-{tmpl_var name='domain'}
<tmpl_if name='use_tcp'>
<tmpl_if name='use_tcp'>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment