habe einen shop auf localhost/shop installiert, ein vb5 forum habe ich auf localhost/shop/forum installiert…
mein problem: der shop funktioniert ohne probleme, leider hat der shop eine .htacces datei mit RewriteEngine und auch das vb mit einer RewriteEngine.
Die .htaccess vom schop plokiert irgendwie die RewriteEngine von der htaccess des vb forum und verwendet dort dasRewriteEngine modul des shops und dadurch erscheit im forum beim ausführen vom jeden link “The requested URL /index.php was not found on this server.”
Wie kann ich den Ordner forum von der .htaccess des shops ausschliesen?
hier die .htaccess vom shop
hoffe ihr könnt mir helfen…
Danke
# In case you want to add a .htpasswd authentification
# you'll have to add the host of the shop as an allowed entity,
# so that calls from the host skip the authentification
# Example:
# Order Deny,Allow
# Deny from All
# AuthType Basic
# AuthName "Access not allowed"
# AuthUserFile path_to_htpasswd_file/.htpasswd
# Require valid-user
# Allow from localhost
# Satisfy Any
<IfModule mod_rewrite.c>
# Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]
RewriteCond %{REQUEST_URI} oxseo\.php$
RewriteCond %{QUERY_STRING} mod_rewrite_module_is=off
RewriteRule oxseo\.php$ oxseo.php?mod_rewrite_module_is=on [L]
RewriteCond %{REQUEST_URI} !(\/admin\/|\/core\/|\/application\/|\/export\/|\/modules\/|\/out\/|\/setup\/|\/tmp\/|\/views\/)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule !(\.html|\/|\.jpg|\.css|\.pdf|\.doc|\.gif|\.png|\.js|\.htc)$ %{REQUEST_URI}/ [R=301,L]
RewriteCond %{REQUEST_URI} !(\/admin\/|\/core\/|\/application\/|\/export\/|\/modules\/|\/out\/|\/setup\/|\/tmp\/|\/views\/)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (\.html|\/)$ oxseo.php
RewriteCond %{REQUEST_URI} (\/out\/pictures\/forum)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (\.jpe?g|\.gif|\.png)$ core/utils/getimg.php
</IfModule>
# disabling log file access from outside
<FilesMatch "(EXCEPTION_LOG\.txt|\.log$|\.tpl$|pkg\.rev)">
order allow,deny
deny from all
</FilesMatch>
# Options -Indexes
DirectoryIndex index.php index.html
das würde sicher funktionieren, allerdings möchte ich das projekt online stellen und den shop an erster stelleo ohne www.abc.de/shop setzen… möchte auch keine direkte weiterleitung ins shop verzeichnis
Kannst du eine Subdomain anlegen und die auf den Ordner vom Forum zeigen lassen?
Und dann vom Shop einen Link auf die Subdomain.
So würde ich das lösen bzw. bin gerade dabei dies so mit einem Blog zu lösen (und diversen anderen Sachen). Die Subdomains sind einfach genial, da die Verzeichnistiefe nicht zu groß wird.