|
|
10.5: Apache 2 site troubles with permissions and folders
the default /private/etc/apache2/httpd.conf has been made against us: If this wasn't sufficient, try removing any double quote found on the If nothing is fine at this point adding a Example :
10.5: Apache 2 site troubles with permissions and folders
I have tried all of the changes you suggested, to no avail -- attempts to access my virtual host named "d2.test" simply result in the "Test Page for Apache Installation" being displayed.
I should note that my 'home' page displayed clean even after making the changes you proposed, but I cannot get at the test site directly (which messes up relative path references). Interestingly enough, since my pages are PHP based, if I enter the URL as Here is my entry from
10.5: Apache 2 site troubles with permissions and folders
10.5: Apache 2 site troubles with permissions and folders
I have made the following changes:
~krallen) web site it loading.
When I enter d2.test as the URL, I get a page that indicates I cannot see that I am missing anything or doing anything wrong, but it will not load the alternate site. Please provide any insights possible.
10.5: Apache 2 site troubles with permissions and folders
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 Arrgghh!
10.5: Apache 2 site troubles with permissions and folders
Actually, the problem is more fundamental (but I still do not know how to correct it).
On a new Leopard install, if I enable web sharing, the logged-in user default web page URL works and displays the default page provided by Leopard. If I edit the /private/etc/apache2/httpd.conf file to uncomment the line that includes the /private/etc/apache2/extra/httpd-vhosts.conf file and then stop and restart web sharing, I cannot access the logged-in user web site! It reports the error that it cannot access the specified server (which is the IP address of the current system). If I edit the file to comment out that include line and stop and start web sharing once more, then I can again access the logged-in user web site! Why does including the default (provided) version of this file prevent the default web site from loading? Is there something I have to change to permit the logged-in web site to work when this fil eis included? |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.14 seconds |
|