[support] htaccess question

Benj Fredrick benj.fredrick at gmail.com
Wed Aug 4 16:57:10 UTC 2010


do you have the $base_url variable set in your settings.php file?


On Wed, Aug 4, 2010 at 10:41 AM, Beatrix Willius <bwillius at gmx.de> wrote:

> 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.
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20100804/24d57ea1/attachment.html 


More information about the support mailing list