I installed bitnami's wordpress module and everything is working fine.
I can access my wordpress installation via my-machine-name/wordpress.
I set up a Virtualhost in an included httpd-vhost.conf file that looks like this:
- Code: Select all
<VirtualHost *:80>
DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs/"
ServerName localhost
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "/Applications/XAMPP/xamppfiles/apps/wordpress/htdocs"
ServerName wordpress.local
</VirtualHost>
I am confident that this configuration is used, as when I run /Applications/XAMPP/xamppfiles/bin/httpd -S, the first few lines show:
- Code: Select all
VirtualHost configuration:
*:80 is a NameVirtualHost
default server localhost (/Applications/XAMPP/xamppfiles/apps/wordpress/conf/httpd-vhosts.conf:1)
port 80 namevhost localhost (/Applications/XAMPP/xamppfiles/apps/wordpress/conf/httpd-vhosts.conf:1)
port 80 namevhost wordpress.local (/Applications/XAMPP/xamppfiles/apps/wordpress/conf/httpd-vhosts.conf:6)
I added the following line to my /etc/hosts file:
- Code: Select all
127.0.0.1 wordpress.local
when I type in wordpress.local in my browser, I get redirected to wordpress.local/dashboard.
What am I missing?
Thanks!
[I can still get to my WordPress installation via wordpress.local/wordpress (or locahost/wordpress]