hi
i freshly installed DA
Version: DirectAdmin v.1.43.3
Compiled on 'Debian 6.0 64-bit'
Compile time: Jun 25 2013 at 23:32:24
with php-fpm under Apache - PHP 5.4.19,Apache/2.4.6
The interesting problem:
- .htaccess in the root directory works fine
- as soon as a .htaccess is in a subdirectory, and even mentions something like a mod_rewrite function, the page does not work anymore, e.g.
#RewriteEngine on
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteRule ^/?([a-zA-Z0-9_]+)-([a-zA-Z0-9_]+)-([a-zA-Z0-9_]+)?$ ./index.php?module=$1&view=$2&id=$3
-> uncommenting any of these 3 lines will show "File not found."
Is there anything to prevent the rewrite to socket rules to be overwritten? It is really elegant, but seems to be rather flaky...
At another server, I use
SuExecUserGroup xxx xxx
FastCGIExternalServer /var/lib/apache2/fastcgi/php5.xxxx.fcgi -flush -socket /var/run/php5-fpm.xxxx.at.sock -pass-header Authorization
Alias /php5.fcgi /var/lib/apache2/fastcgi/php5.xxxx.fcgi
This seems to be superior in regards of stability.
Any thoughts or guidelines on what to do?
-styx
i freshly installed DA
Version: DirectAdmin v.1.43.3
Compiled on 'Debian 6.0 64-bit'
Compile time: Jun 25 2013 at 23:32:24
with php-fpm under Apache - PHP 5.4.19,Apache/2.4.6
The interesting problem:
- .htaccess in the root directory works fine
- as soon as a .htaccess is in a subdirectory, and even mentions something like a mod_rewrite function, the page does not work anymore, e.g.
#RewriteEngine on
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteRule ^/?([a-zA-Z0-9_]+)-([a-zA-Z0-9_]+)-([a-zA-Z0-9_]+)?$ ./index.php?module=$1&view=$2&id=$3
-> uncommenting any of these 3 lines will show "File not found."
Is there anything to prevent the rewrite to socket rules to be overwritten? It is really elegant, but seems to be rather flaky...
At another server, I use
SuExecUserGroup xxx xxx
FastCGIExternalServer /var/lib/apache2/fastcgi/php5.xxxx.fcgi -flush -socket /var/run/php5-fpm.xxxx.at.sock -pass-header Authorization
Alias /php5.fcgi /var/lib/apache2/fastcgi/php5.xxxx.fcgi
This seems to be superior in regards of stability.
Any thoughts or guidelines on what to do?
-styx