OK. new problem. I have everything set up, as far as virtual hosts. I can get to my site, which is located in c:\xampp\vhost, via.
http://www.mysite.com. It seems to load the index page fine, but, when I try to login, it says object not found. In the error log, it seems to be looking for the file in c:\xampp\htdocs and not in c:\xampp\vhost\mysite\htdocs. The main index page is in that directory, so I don't see why it can't find the mysite.com/login.php. They're in the same directory.....
Am I missing something in my http-vhost.conf ?
- Code: Select all
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName localhost
DocumentRoot "C:/xampp/htdocs"
<Directory />
Options Indexes MultiViews FollowSymLinks
AllowOverride None
</Directory>
<Directory "C:/xampp/htdocs">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName www.mysite.com
ServerAlias mysite.com
DocumentRoot "C:/xampp/vhost/mysite/htdocs"
<Directory />
Options Indexes MultiViews FollowSymLinks
AllowOverride None
</Directory>
<Directory "C:/xampp/vhost/mysite/htdocs">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
</VirtualHost>