Du befindest Dich im Archiv vom ABAKUS Online Marketing Forum. Hier kannst Du Dich für das Forum mit den aktuellen Beiträgen registrieren.

mod_rewrite einstellungen in Apache

Hier können Sie Ihre Fragen zum Thema Suchmaschinenoptimierung (SEO) / Positionierung stellen
Neues Thema Antworten
Gerald79
PostRank 4
PostRank 4
Beiträge: 159
Registriert: 15.10.2004, 14:27

Beitrag von Gerald79 » 03.11.2004, 18:50

Hallo,

wenn ich es richtig verstanden habe muss ich um Modwrewrite zu ativieren auch AllowOverwrite aktiviert haben.
https://httpsd.apache.org/docs-2.0/mod/ ... owoverride
Jetzt gibt es aber mehre Zeilen in der Httpd.conf die diese Funktion haben:

Code: Alles auswählen

# Each directory to which Apache has access, can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories). 
#
# First, we configure the "default" to be a very restrictive set of 
# permissions.  
#
<Directory />
    AuthUserFile  /etc/httpd/passwd
    AuthGroupFile /etc/httpd/group

    Options -FollowSymLinks +Multiviews
    &#91;b&#93;AllowOverride None&#91;/b&#93;

</Directory>

Code: Alles auswählen

#
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo", 
# "AuthConfig", and "Limit"
#
    &#91;b&#93;AllowOverride None&#91;/b&#93;

Code: Alles auswählen

#
# Control access to UserDir directories.  The following is an example
# for a site where these directories are restricted to read-only.
#
#<Directory /home/*/public_html>
#    &#91;b&#93;AllowOverride&#91;/b&#93; FileInfo AuthConfig Limit
#    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
#    <Limit GET POST OPTIONS PROPFIND>
#        Order allow,deny
#        Allow from all
#    </Limit>
#    <LimitExcept GET POST OPTIONS PROPFIND>
#        Order deny,allow
#        Deny from all
#    </LimitExcept>
#</Directory>

Code: Alles auswählen

#
    # Note that if you include a trailing / on fakename then the server will
    # require it to be present in the URL.  So "/icons" isn't aliased in this
    # example, only "/icons/".  If the fakename is slash-terminated, then the 
    # realname must also be slash terminated, and if the fakename omits the 
    # trailing slash, the realname must also omit it.
    #
    Alias /icons/ "/srv/www/icons/"

    <Directory "/srv/www/icons">
        Options Indexes MultiViews
        &#91;b&#93;AllowOverride None&#91;/b&#93;
        Order allow,deny
        Allow from all
    </Directory>

Code: Alles auswählen

 # This Alias will project the on-line documentation tree under /manual/
    # even if you change the DocumentRoot. Comment it if you don't want to 
    # provide access to the on-line documentation.
    #
    Alias /manual/ "/srv/www/htdocs/manual/"

    <Directory "/srv/www/htdocs/manual">
        Options Indexes FollowSymlinks MultiViews
        &#91;b&#93;AllowOverride None&#91;/b&#93;
        Order allow,deny
        Allow from all
    </Directory>

Code: Alles auswählen

  #
    # "/srv/www/cgi-bin" should be changed to whatever your ScriptAliased
    # CGI directory exists, if you have that configured.
    #
    <Directory "/srv/www/cgi-bin">
        &#91;b&#93;AllowOverride None&#91;/b&#93;
        Options None
        Order allow,deny
        Allow from all
    </Directory>

</IfModule>
# End of aliases.

Code: Alles auswählen

#
# set /cgi-bin for CGI execution
#
<Location /cgi-bin>
&#91;b&#93;AllowOverride None&#91;/b&#93;Options +ExecCGI -Includes
SetHandler cgi-script
</Location>

Anzeige von ABAKUS

von Anzeige von ABAKUS »


Hochwertiger Linkaufbau bei ABAKUS:
  • Google-konformer Linkaufbau
  • nachhaltiges Ranking
  • Linkbuilding Angebote zu fairen Preisen
  • internationale Backlinks
Wir bieten Beratung und Umsetzung.
Jetzt anfragen: 0511 / 300325-0

Gerald79
PostRank 4
PostRank 4
Beiträge: 159
Registriert: 15.10.2004, 14:27

Beitrag von Gerald79 » 03.11.2004, 19:03

Und ich als blutiger Anfänger in sachen Modrewrite bitte hier um hilfe..

Webby
Administrator
Administrator
Beiträge: 5420
Registriert: 17.10.2001, 01:00

Beitrag von Webby » 04.11.2004, 10:52

Bei

Code: Alles auswählen

#<Directory /home/*/public_html> 
#    &#91;b&#93;AllowOverride&#91;/b&#93; FileInfo AuthConfig Limit 
#    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec 
#    <Limit GET POST OPTIONS PROPFIND> 
#        Order allow,deny 
#        Allow from all 
#    </Limit> 
#    <LimitExcept GET POST OPTIONS PROPFIND> 
#        Order deny,allow 
#        Deny from all 
#    </LimitExcept> 
#</Directory> 
Versuchen

Code: Alles auswählen

#<Directory /home/*/public_html> 
#    AllowOverride All
#    FileInfo AuthConfig Limit 
#    Options MultiViews Indexes Followsymlinks IncludesNoExec 
#    <Limit GET POST OPTIONS PROPFIND> 
#        Order allow,deny 
#        Allow from all 
#    </Limit> 
#    <LimitExcept GET POST OPTIONS PROPFIND> 
#        Order deny,allow 
#        Deny from all 
#    </LimitExcept> 
#</Directory> 

Falls das nicht funktioniert probieren in die erste

<Directory /> 
    AuthUserFile  /etc/httpd/passwd 
    AuthGroupFile /etc/httpd/group 

    Options -FollowSymLinks +Multiviews 
    [b]AllowOverride None[/b] 

</Directory>

auf 

<Directory /> 
    AuthUserFile  /etc/httpd/passwd 
    AuthGroupFile /etc/httpd/group 

    Options FollowSymLinks +Multiviews 
    AllowOverride All
</Directory>

zu ändern.

Alan
ABAKUS Internet Marketing
Professionelle Suchmaschinenoptimierung und Suchmaschinenmarketing