[support] htaccess question

Beatrix Willius bwillius at gmx.de
Wed Aug 4 16:41:32 UTC 2010


Hi,

on my Drupal site http://www.mothsoftware.de or .com I have a question regarding the htaccess file. The basic url works okay, but when navigating to a link the urls shown have an additional foldername it them, which is the folder the site lives in. How can I get rid of this foldername in the path?

Current:
http://www.mothsoftware.com/drupalmoth/content/download
Wanted:
http://www.mothsoftware.com/content/download

I've tried to read up on htaccess, but right now it seems like greek to me. The existing htaccess is

> RewriteEngine on
> Options +FollowSymlinks
> 
> RewriteCond %{THE_REQUEST} (/server-interface/|/webcontrol-scripts/|/webcontrol/|/webstats/|/webmail/|/webmail2/)
> RewriteRule .* - [L,NS]
> 
> RewriteCond %{HTTP_HOST} ^(www\.)?beatrixwillius\.de$
> RewriteCond %{REQUEST_URI} !^/beatrixwillius/
> RewriteRule .* /home/mothsoftwarede/public_html/beatrixwillius%{REQUEST_URI}
> 
> RewriteCond %{HTTP_HOST} ^(www\.)?mothsoftware\.com$
> RewriteCond %{REQUEST_URI} !^/drupalmoth/
> RewriteRule .* /home/mothsoftwarede/public_html/drupalmoth%{REQUEST_URI}
> 
> RewriteCond %{HTTP_HOST} ^(www\.)?mothsoftware\.de$
> RewriteCond %{REQUEST_URI} !^/drupalmoth/
> RewriteRule .* /home/mothsoftwarede/public_html/drupalmoth%{REQUEST_URI}
> 
> # WC DIRINDEX START
>  Options -Indexes
> # WC DIRINDEX END


Mit freundlichen Grüßen/Regards

Trixi Willius

http://www.mothsoftware.com
Mail Archiver X: archive, clean and search email
http://www.beatrixwillius.de
Fractals, 3d landscapes etc.



More information about the support mailing list