HILFE --Ubuntu Apache 2 .htacces Datei wird nicht angewendet

Alles, was den Apache betrifft, kann hier besprochen werden.

HILFE --Ubuntu Apache 2 .htacces Datei wird nicht angewendet

Postby andrucha77 » 06. November 2008 13:44

Hallo Leute,

ich habe ein Problem mit Ubuntu Apache 2 und der .htaccess Datei. Habe schon sämliche Foren angeschaut, aber leider ohne mein Problem gelöst zu habe, Ich habe einen Apache 2.2.8 (Ubuntu) und möchte in meinem Webverzeichnis "/var/www/shop" die ErrorDocumente auf eigene Pages umleiten. Nun da liegt das Problem. :roll:

Loaded Modules
core mod_log_config mod_logio prefork http_core mod_so mod_alias mod_auth_basic mod_auth_kerb mod_authn_file mod_authz_default mod_authz_groupfile mod_authz_host mod_authz_user mod_autoindex mod_cgi mod_dir mod_env mod_mime mod_negotiation mod_php5 mod_rewrite mod_setenvif mod_status

Ich habe in dem Verzeichnis /var/www/shop eine .htaccess Datei angelegt

ErrorDocument 404 http://localhost/shop/404.htm

Die Konfig vom Apache

apache2.conf

AccessFileName .htaccess

<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>

/sites-enabled/000-default

DocumentRoot /var/www/
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>


Wenn ich aber im Browser http://localhost/shop/irgendwas eingebe, bekommen dann die Standard 404 Page vom Apache und nicht die von mir!!!

Kann mir jemand weiter helfen.

Danke

Andrucha77
[/u]
andrucha77
 
Posts: 1
Joined: 06. November 2008 13:13

Return to Apache

Who is online

Users browsing this forum: No registered users and 239 guests