LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-16-2005, 09:59 AM   #1
mpower
LQ Newbie
 
Registered: Jun 2004
Posts: 21

Rep: Reputation: 15
running httpd.conf without restarting apache


Hello,

I read how to do this many moons ago and i forgot it. I tried to search for it again but to no avail. Does anyone know how to test apache httpd.conf file without having to restart it? I use to know the command and it was a fairly easy one- it read the conf file to see if there were possible errors.

Thankx
 
Old 03-16-2005, 12:13 PM   #2
swatward
Member
 
Registered: Jan 2005
Distribution: slackware
Posts: 83

Rep: Reputation: 15
Need more info

What do you mean exactly?
Vi httpd.conf
service httpd restart
what are you trying to do?
 
Old 03-16-2005, 12:39 PM   #3
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,937

Rep: Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330
To test httpd.conf run
Code:
httpd -t
For more options: httpd -h
 
Old 03-16-2005, 05:20 PM   #4
mpower
LQ Newbie
 
Registered: Jun 2004
Posts: 21

Original Poster
Rep: Reputation: 15
thankx!
 
  


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 httpd.conf ilnli Linux - Software 9 01-11-2005 06:58 AM
Apache httpd.conf help BoardinBum Linux - Software 4 12-29-2004 12:59 PM
httpd chokes on ScriptAlias line in Apache httpd.conf lhoff Linux - Software 1 07-14-2003 10:32 PM
apache httpd.conf syntax weisiger Linux - Software 8 06-16-2003 05:54 PM
apache httpd.conf plisken Linux - Software 1 02-01-2003 02:01 PM


All times are GMT -5. The time now is 09:59 AM.

Main Menu
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