Fedora Linux Support Community & Resources Center
  #1  
Old 5th August 2006, 01:09 AM
coolbeansdude51 Offline
Registered User
 
Join Date: Jun 2006
Posts: 35
Apache won't start

Hello All!

I am hoping this is just something simple so here is my problem. I can't start my apache server. I have restarted my computer a couple of times. There is an error message at start up and it says something about an error in the config file. So I looked in the config file on line 170 like it said and that is just a module line. SO I am confused and have no idea what is wrong.

I have attached my config file. Line number 170 is LoadModule access_module modules/mod_access.so

Thanks in advance for you help!
Attached Files
File Type: conf httpd.conf (31.5 KB, 120 views)

Last edited by coolbeansdude51; 5th August 2006 at 01:11 AM.
Reply With Quote
  #2  
Old 5th August 2006, 01:33 AM
LLS
Guest
 
Posts: n/a
http://www.redhat.com/archives/rhl-l.../msg00095.html
If you have a backup httpd.conf file, use it to overwrite the one you have or you can dump this one in there.
Attached Files
File Type: conf httpd.conf (32.9 KB, 152 views)
Reply With Quote
  #3  
Old 5th August 2006, 01:44 AM
coolbeansdude51 Offline
Registered User
 
Join Date: Jun 2006
Posts: 35
Ok ... that worked but now I don't have the right permissions. THen when I go in to edit the permission s it says that they could not be determined.

Thanks for the help!
Reply With Quote
  #4  
Old 5th August 2006, 07:13 PM
LLS
Guest
 
Posts: n/a
As root
Code:
chmod -R 775 /var/www/html
and
Code:
chown -R you or your group /var/www/html/
You may have to research this one a little more but you need to be one of the owners to make changes etc.
Reply With Quote
  #5  
Old 5th August 2006, 07:19 PM
coolbeansdude51 Offline
Registered User
 
Join Date: Jun 2006
Posts: 35
I did that. That worked for my html files that I placed in my html directory but my cgi scripts still arn't working. I have set the permissions to 666.

Thanks for the help!
Reply With Quote
  #6  
Old 5th August 2006, 09:04 PM
kopete's Avatar
kopete Offline
Registered User
 
Join Date: May 2006
Location: India - Hyderabad
Age: 26
Posts: 57
The script for executing .cgi is


ScriptAlias /cgi-bin/ "/home/*/public_html/cgi-bin/"
<Directory "/home/*/public_html/cgi-bin">
AllowOverride None
Options +ExecCGI
Addhandler cgi-script .cgi
Order allow,deny
Allow from all
</Directory>



By default /home/*/public_html/cgi-bin will be replaced by /var/www/cgi-bin.
So choosing directory is your choice.Give 755 file permissions to all the file in cgi-bin and also to the directory cgi-bin
Reply With Quote
  #7  
Old 6th August 2006, 02:37 AM
coolbeansdude51 Offline
Registered User
 
Join Date: Jun 2006
Posts: 35
BLAM it works!

Thanks! You all are amazing.
Reply With Quote
Reply

Tags
apache, start

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache will not start thign Using Fedora 1 30th October 2007 04:45 AM
can't start apache on FC5 pompadir Servers & Networking 3 31st May 2007 03:52 AM
Apache will not start mrbiggs_12 Servers & Networking 7 4th September 2006 11:23 AM
FC5 Apache won't start? shack Using Fedora 4 19th July 2006 06:08 AM
Apache doesn't always start RichInToronto Servers & Networking 0 16th November 2005 04:54 PM


Current GMT-time: 21:51 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat