Hello:
For DAYS I’ve tried every possible variation from the below 2 suggested links to get XAMPP/Apache to work with Dreamweaver. I’ve uninstalled and reinstalled. The information from these 2 links should have worked for my site to come up, but it does. This is so frustrating and it is crazy-making. I’m using DW 8.0.2 and Apache 2.2, using Windows Professional XP, SP2.
http://forums.whirlpool.net.au/forum-replies.cfm?t=569991#r20
http://foundationphp.com/tutorials/apache22_vhosts.php
In Boss’ suggestion it does sound reasonable to use the Directory location but the problem is that Apache won’t take it because it doesn’t allow multiple directory listings for some reason. Maybe if I can get that to work (but don’t know where to allow the command) things might work. Quite often, though, after I fix one problem another one arises.
Right now, I get Error 404 – Object not found.
My httpd-vhost looks like this which is the last thing I’ve settled on (I removed the Allow, deny, etc that was suggested because Apache wouldn’t take the commands for some reason):
<VirtualHost *:80>
ServerName mysite
DocumentRoot C:/vhosts
IndexOptions +FancyIndexing NameWidth=*
Options Includes FollowSymLinks Indexes
</VirtualHost>
<VirtualHost *:80>
ServerName localhost
DocumentRoot C:/xampp
IndexOptions +FancyIndexing NameWidth=*
Options Includes FollowSymLinks Indexes
</VirtualHost>
In DW, I can put in for the testing server https://vhosts or https://mysite or localhost – in Test mode it links fine -- when going to the browser the page comes up with the error. In the browser it looks like this:
https://vhosts/index2.php or whatever name,
Below 404 there is a link on the site name and it brings up the XAMPP sample page just fine... but, on the sample page the browser reads like this:
https://vhosts/xampp/
On rare occasions I don’t get Error 404, but a message:
“Unable to connect
Firefox can't establish a connection to the server at vhosts.”
One other thing, I don’t know if this make any difference or not, but I’ve tried to use https://127.0.0.1 and it doesn’t seem to function, expect for on XAMPP’s sample pages.
Before I go completely crazy does anyone have any suggestions to how I can see my site on my computer? I don’t understand why one of the variations from the above 2 links didn’t work as suggested. I really need this because I’m expanding my site and changed all my extensions from html to php.
Thank you all for you help.