Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

idiosyncratic i

macrumors newbie
Original poster
Just upgraded to Leopard, and for the most part, I love it. But I've had a not so minor problem come up. When I turn websharing on, I cannot access my site via Safari; I keep getting 403's. I tried creating a new account, and copied the sites folder from the old account to the new one. I had no problems viewing that account's site, so I know it's not a problem with any of the files. I already checked the file permissions, and they're all the way they should be. I'm at a complete loss as to what's going on here.

Also, from looking at the new account, I have determined that PHP isn't working any more. From the terminal I've determined that neither is my MySQL server. Any insight would be greatly appreciated.
 
Managed to find the solution to the PHP and 403 errors. Here it is if anyone else is having similar issues:

I got PHP working with Leopard by modifying the httpd.conf file that you can get to by going to Go -> Go To Folder, /etc then going into the apache2 folder and copying httpd.conf to the Desktop (it won't let you edit in place). Find the line that says LoadModule php5_module etc...... and remove the # from the start. Save the file and drag it back into the apache2 folder, you'll have to authenticate to get it in there. Then restart apache by switching personal web sharing off and on in the sharing pref pane.

I had the same problem with my personal web sharing folder for my username not working on both the machines I installed it on (as an upgrade). The machines web sharing is working tho, just not the one for each user account. To fix it, create a file called shortusername.conf (where shortusername is your shortusername, eg, joebloggs and in it put this...

<Directory "/Users/shortusername/Sites/">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

Save the file and put it into the apache2/users folder - restart personal web sharing and boom!, its working now.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.