I have a little (well ... large) problem.
I've set up Wildcard DNS for my mac, and moved my htdocs direcory to /Volumes/data/www.
Everything seemed to be OK untill I checked .htaccess
No rewriting :/
I've uncommented LoadModule rewrite_module modules/mod_rewrite.so, phpinfo shows:
(...) mod_userdir mod_alias mod_rewrite mod_ssl mod_php5 mod_perl (...)
In my httpd-vhosts.conf I have:
- Code: Select all
<VirtualHost *:80>
ServerName dev
ServerAlias *.dev
ServerAdmin webmaster@localhost
ErrorLog "logs/%1-error_log"
CustomLog "logs/%1-access_log" common
VirtualDocumentRoot "/Volumes/data/www/%-2"
<Directory /Volumes/data/www/%-2>
Options Indexes FollowSymLinks MultiViews Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</Virtualhost>
Main domains are working OK, wordpress is working OK untill I set permalinks for something else then Default...
I get only 404 for every subpage ...
What am I doing wrong? What else I should do to have rewriting ready to go?