LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 01-17-2010, 09:11 AM   #1
shlomi.s
LQ Newbie
 
Registered: Dec 2009
Posts: 10

Rep: Reputation: 0
Apache show "Forbidden" after switched runlevel 5 to ON


hi All,

i wanted to auto-start apache and mysql each time the server is turn-on so i read some document on the net that explaining how to do that - and it's good - the services are loading when the OS start.
(as i said in the subject - i switched the runlevel 5 of httpd service to ON mode instead of the default - OFF)

BUT! the problem is that after i did it - for all of my apache's virtual-hosts i'm getting 403 - Forbidden notice.

when i doing it manually, mean, the server is load and then I'm logging-in with root user and do: 'httpd -k start', it's running perfectly.

i have hard filling that this 'runlevel 5' setting run the apache under user without permissions to those virtual-host folders (they're under 755 mode).


p.s. the mysqld service running ok with the runlevel 5 configuration!
p.s. (2) - i'm using Fedora 12

thanks for you help and i hope you understood me!!

Shlomi.

Last edited by shlomi.s; 01-17-2010 at 09:45 AM.
 
Old 01-23-2010, 09:59 PM   #2
carltm
Member
 
Registered: Jan 2007
Location: Canton, MI
Distribution: CentOS, SuSE, Red Hat, Debian, etc.
Posts: 700

Rep: Reputation: 96
Did you install httpd from Fedora or from another source?

If it is the Fedora version, you should be able to run
"service httpd start" and have it run without errors. You
could then run "chkconfig httpd on" to set the service
to start at the default runlevels, which includes 5.

If you still have problems, you might need to look at the
error log files for apache.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache 2.0.47 "Forbidden You don't have permission to access / on this server" wanna13e Linux - Server 18 07-28-2007 03:03 AM
Apache "Forbidden 403" on index - default install flycast Linux - Server 8 04-02-2007 09:35 PM
Apache - "403 forbidden" message on any DIR below DocumentRoot stevod333 Linux - Software 12 06-12-2006 05:58 AM
Suse 10.1 - Apache "Access Forbidden!" on any page Danny-T Linux - Networking 4 06-01-2006 01:31 AM


All times are GMT -5. The time now is 04:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration