local Windows / XAMPP path problems
-
I have all my local development webs in D:/web
XAMPP itself is installed in D:\xamppIt seems to work fine, but for some webs, I have problems with the permalinks.
In the httpd.conf (D:\xampp\apache\conf\httpd.conf) I defined an Alias like so:
DocumentRoot “D:/xampp/htdocs”
Alias /web “D:/web”
<Directory “D:/web”>
Options All Indexes FollowSymLinks MultiViews
Order allow,deny
Allow from all
</Directory>the .htdocs file that WordPress generates when I change the permalink structure is like that:
#AddHandler php5-fastcgi .php .php5
#<IfModule mod_rewrite.c>
#RewriteEngine On
#RewriteBase /
#RewriteRule ^index\.php$ – [L]
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule . /index.php [L]
#</IfModule># BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /web/sveb.chruezundquer.ch/
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /web/sveb.chruezundquer.ch/index.php [L]
</IfModule># END WordPress
And I tried all possible combinations, restarted Appache eacht time but nothing seems to work.
Does anyone know or have any idea what is propably wrong?
If I remove the permalink structure and use the default (https://localhost/web/sveb.chruezundquer.ch/?p=123) it seems to work, but since BuddyPress won’t function like this I need the permalinks like https://localhost/web/sveb.chruezundquer.ch/2011/03/sample-post/
Any hints highly appreciated.
- The topic ‘local Windows / XAMPP path problems’ is closed to new replies.