Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: apache Forbidden
PostPosted: Fri Apr 06, 2012 10:33 pm 
Offline
Senior Newbie

Joined: Wed Dec 14, 2011 12:41 pm
Posts: 12
Ok, I had my site www.cross-town-traffic-software.com up and running and I did something really stupid. I erased all of my srv/www/ctts.com/public.html. I will be adding backups to my plan. So I recreated the directories, gave access. But I still get the 403 forbidden error.
log

The log warns that var/www/ctts.com/public.html does not exist
(the Linode Lamp guide does not say you have to create)
It also says NameVirtualHost 173.255.254.7:80 has no VirtualHosts.

I did go thru the LAMP guide beginning to end!

Help!


Top
   
 Post subject:
PostPosted: Fri Apr 06, 2012 10:39 pm 
Offline
Senior Member

Joined: Mon Sep 12, 2011 3:29 am
Posts: 63
ICQ: 1081190
Website: http://kyhwana.org
AOL: kyhwana
Location: New Zealand
So make sure that that path actually exists and then check the permissions. You need to make sure that the user the webserver is running as has access to that directory.


Top
   
 Post subject:
PostPosted: Sat Apr 07, 2012 8:02 am 
Offline
Senior Member
User avatar

Joined: Fri Dec 11, 2009 7:09 pm
Posts: 168
Note that it is customarily a directory named public_html , and not a file named public.html.

_________________
--
Chris Bryant


Top
   
 Post subject: apache Forbidden
PostPosted: Mon Apr 09, 2012 11:42 am 
Offline
Senior Newbie

Joined: Wed Dec 14, 2011 12:41 pm
Posts: 12
I just decided to scrap the site and use a stack script to rebuild. Now i can paw thru all of the correct things done vs what my nebie self did. Also signed up for backup service. Site was basically a test stite for some frameworks I was palying with.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group