Hallo, also mod_rewrite ist immer noch nicht aktiviert:
Das Modul ist auf dem Server:
Code:
find /usr -name mod_rewrite.so
/usr/lib/apache2/modules/mod_rewrite.so
Dann noch die /etc/apache2/mods-enabled/rewrite.load
Code:
LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so
Die /etc/apache2/sites-available/00_master.conf sieht so aus
Code:
<Directory /var/www/ispcp/gui>
Options -Indexes Includes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
Allow from all
</Directory>
<IfModule mod_fcgid.c>
<Directory /var/www/ispcp/gui>
FCGIWrapper /var/www/fcgi/master/php5-fcgi-starter .php
Options +ExecCGI
</Directory>
<Directory "/var/www/fcgi/master">
AllowOverride all
Options +ExecCGI MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule>
<IfModule mod_fastcgi.c>
ScriptAlias /php5/ /var/www/fcgi/master/
<Directory "/var/www/fcgi/master">
AllowOverride all
Options +ExecCGI MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule>
Die /etc/apache2/sites-available/ispcp.conf sieht so aus
Code:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} ^LWP::Simple
RewriteRule ^/.* http://%{REMOTE_ADDR}/ [L,E=nolog:1]
</IfModule>
Alle Domains in dieser Datei sind wie folgt:
Code:
# httpd sub entry cgi support BEGIN.
ScriptAlias /cgi-bin/ /var/www/virtual/mydomains.tld/DOMAIN/subdomains/SUB/cgi-bin/
<Directory /var/www/virtual/mydomains.tld/DOMAIN/subdomains/SUB/cgi-bin>
AllowOverride all
#Options ExecCGI
Order allow,deny
Allow from all
</Directory>
# httpd sub entry cgi support END.
<Directory /var/www/virtual/mydomains.tld/DOMAIN/subdomains/SUB/htdocs>
# httpd sub entry PHP support BEGIN.
# httpd sub entry PHP support END.
Options -Indexes Includes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
Allow from all
</Directory>
# httpd sub entry PHP2 support BEGIN.
<IfModule mod_php5.c>
php_admin_value open_basedir "/var/www/virtual/mydomains.tld/:/var/www/virtual/mydomains.tld/phptmp/:/usr/share/php/"
php_admin_value upload_tmp_dir "/var/www/virtual/mydomains.tld/phptmp/"
php_admin_value session.save_path "/var/www/virtual/mydomains.tld/phptmp/"
php_admin_value sendmail_path '/usr/sbin/sendmail -f vu2001 -t -i'
</IfModule>
<IfModule mod_fastcgi.c>
ScriptAlias /php5/ /var/www/fcgi/mydomains.tld/
<Directory "/var/www/fcgi/mydomains.tld">
AllowOverride all
Options +ExecCGI -MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule> </IfModule>
<IfModule mod_fcgid.c>
<Directory /var/www/virtual/mydomains.tld/DOMAIN/subdomains/SUB/htdocs>
FCGIWrapper /var/www/fcgi/mydomains.tld/php5-fcgi-starter .php
Options +ExecCGI
</Directory>
<Directory "/var/www/fcgi/mydomains.tld">
AllowOverride all
Options +ExecCGI MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule>
# httpd sub entry PHP2 support END.
Alles erdenkliche ist aktiviert, aber mod_rewrite schein nicht zu funktionieren. Any hints?
Und entschuldigt die Frage, aber mod_rewrite lief zuvor immer problemlos: Irgendwas scheine ich zu übersehen mit ispcp