Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 11th February 2010, 10:59
xxfog xxfog is offline
Join Date: Jan 2010
Posts: 30
Thanks: 5
Thanked 1 Time in 1 Post
Default mod_rewrite again and general question for adding it into apache-special

Hi folks,

i used search for hours now, but did not find a answer to my question, I hope someone can help me:

I am Using Wordpress for some of my clients
Now I want to set up the following
in Sites > Optionen > Apache Direktiven

I wrote:

<IfModule mod_rewrite.c>
<Directory /var/www/[sitename]/web/>
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

Does ISPConfig insert the Sitename automatically (as a VARIABLE) if I write [sitename] or do I have to write the sitename in format domain.tld by myself?

greetz Steffan

Need help? Try out irc://irc.quakenet.org/ISPConfig
Reply With Quote
Sponsored Links
Old 11th February 2010, 13:25
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,001
Thanks: 840
Thanked 5,650 Times in 4,460 Posts

You have to write the sitename yourself. But its also not needed, just leave out the directory directives as the rules are inserted into the vhost, they will get applied to this vhost only.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 23:58.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.