diff options
author | Kamil Kaminski <kylek389@gmail.com> | 2023-01-16 15:24:31 -0600 |
---|---|---|
committer | Kamil Kaminski <kylek389@gmail.com> | 2023-01-16 15:24:31 -0600 |
commit | 9f2448ea8b2528dd79108242ac46f011eba80c82 (patch) | |
tree | ea9d9f1884d2895873866fd6b363cdeb3ddd6bbb /tiny/etc/apache2/conf-available/php5_fastcgi_nonwrappercall.conf | |
parent | f42a910e3304e22255d1ad3dde1cb1a0de19e462 (diff) | |
download | configs-master.tar.gz configs-master.tar.bz2 configs-master.zip |
Diffstat (limited to 'tiny/etc/apache2/conf-available/php5_fastcgi_nonwrappercall.conf')
-rw-r--r-- | tiny/etc/apache2/conf-available/php5_fastcgi_nonwrappercall.conf | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/tiny/etc/apache2/conf-available/php5_fastcgi_nonwrappercall.conf b/tiny/etc/apache2/conf-available/php5_fastcgi_nonwrappercall.conf new file mode 100644 index 0000000..b94993d --- /dev/null +++ b/tiny/etc/apache2/conf-available/php5_fastcgi_nonwrappercall.conf @@ -0,0 +1,29 @@ +<IfModule fastcgi_module> + AddHandler php-fastcgi .php + AddType application/x-httpd-php .php + DirectoryIndex index.php index.html + Action php-fastcgi /cgi-bin/fastcgi-php-wrapper + <Location /cgi-bin/> + # below SetHandler is not needed but nice for shebanged .sh or .pl scripts + SetHandler cgi-script + Options +FollowSymLinks +ExecCGI + </Location> + +# <FilesMatch "\.php$"> +# # with this i enable php via fastcgi server wide, might want to narrow it down to specific vhosts +# # SetHandler is am override, redundant here since AddHandler already registered .php extension +# SetHandler php-fastcgi +# # below probably redundant since it looks like only the wrapper needs this bit ON +# Options +ExecCGI +# </FilesMatch> + +</IfModule> + + +# almost worked, blew up on: +# +# mod_fastcgi: error reading data from FastCGI server +# [Sun Nov 30 01:00:59.663064 2014] [core:error] [pid 11886] [client ::1:46027] End of script output before headers: php-fastcgi-wrapper +# +# what a fucking joke + |