Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the '10.5: Apache 2 site troubles with permissions and folders' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Apache 2 site troubles with permissions and folders
Authored by: KenDRhyD on Nov 12, '07 06:20:47AM
Some additional tests reveal that the problem is more odd than I suspected.

As a test, I modified the index.html file in my default site (~krallen) to include a link to the root of my alternate site:

<p><a href='./D2TestSite/index.php'>D2 Test Site link</a></p>
If I leave the Include /private/etc/apache2/extra/httpd-vhosts.conf line commented out, then the link works (except that my page is not host rooted properly, so the code in the page does not work as expected.

If I uncomment the Include /private/etc/apache2/extra/httpd-vhosts.conf line (and stop and restart web sharing), then I almost always get an error when I click on the preferences link to my default site: Safari can't open the page "" because it could not connect to the server "".. Every once in a while I get the default site to load with the line uncommented, but then that new link fails with a similar error, but the URL now has my alternate site directory appended.


[ Reply to This | # ]