Current time: 11-23-2024, 10:49 PM Hello There, Guest! (LoginRegister)


Post Reply 
Mod rewrite
Author Message
micheal Offline
Junior Member
*

Posts: 15
Joined: Oct 2009
Reputation: 0
Post: #8
RE: Mod rewrite
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
10-09-2009 09:54 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Mod rewrite - Sven Flöck - 03-26-2009, 09:32 PM
RE: Mod rewrite - BeNe - 03-27-2009, 05:28 PM
RE: Mod rewrite - nolimithosting - 03-27-2009, 06:51 PM
RE: Mod rewrite - micheal - 10-09-2009, 01:28 AM
RE: Mod rewrite - ZooL - 10-09-2009, 01:38 AM
RE: Mod rewrite - micheal - 10-09-2009, 01:57 AM
RE: Mod rewrite - ZooL - 10-09-2009, 03:41 AM
RE: Mod rewrite - micheal - 10-09-2009 09:54 PM
RE: Mod rewrite - ZooL - 10-10-2009, 12:25 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)