LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 08-11-2004, 04:08 AM   #1
xtra
LQ Newbie
 
Registered: Jun 2004
Posts: 20

Rep: Reputation: 0
Can not edit httpd.conf


Hello!

I use a redhat 9 system.

Ive been desperately trying to even SEE what is in my httpd.conf, but when I vi httpd.conf I get a strange message on the bootom line... Its

"httpd.conf" [noeol] 1183L, 35580C

So that means, no end of line, right? Why can I not see any code?

Anyway, the file seems empty, while I have a running httpd. Even when I stop the httpd I can not see nor edit nor add any information.

Im painstakingly trying to get my virtual host configuration right, but how can I do this when I can not edit this information?


Thanks!
 
Old 08-11-2004, 05:04 AM   #2
allan_y
Member
 
Registered: May 2004
Location: Canberra
Distribution: Redhat 9
Posts: 32

Rep: Reputation: 15
are you sure you are looking in the right place for httpd.conf?
 
Old 08-11-2004, 05:35 AM   #3
xtra
LQ Newbie
 
Registered: Jun 2004
Posts: 20

Original Poster
Rep: Reputation: 0
/etc/httpd/conf/httpd.conf ?
 
Old 08-11-2004, 05:44 AM   #4
liinux
LQ Newbie
 
Registered: Aug 2004
Location: US
Posts: 27

Rep: Reputation: 16
what hapeens when u type
ls -l /etc/httpd/conf/httpd.conf
 
Old 08-11-2004, 08:27 AM   #5
jaganpjames
LQ Newbie
 
Registered: Aug 2004
Location: Hyderabad
Distribution: RH, fedora
Posts: 19

Rep: Reputation: 0
U r having lot of blank lines in the start of the file.. the contents are there.. look down..
 
Old 08-11-2004, 09:12 AM   #6
xtra
LQ Newbie
 
Registered: Jun 2004
Posts: 20

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by jaganpjames
U r having lot of blank lines in the start of the file.. the contents are there.. look down..
Well Ill be damned!

Youre right! Im really dreadfully ashamed now!

What is all this space good for? Can I take it out?
 
Old 08-12-2004, 03:40 AM   #7
jaganpjames
LQ Newbie
 
Registered: Aug 2004
Location: Hyderabad
Distribution: RH, fedora
Posts: 19

Rep: Reputation: 0
u can remove the spaces.. which i am sure u have already done.. and if i am not mistaken u have configured httpd via X,
 
  


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
Httpd.conf And Httpd2.conf ???? alejandroye Linux - General 2 11-07-2004 01:23 AM
I have my httpd server up, but how do I edit its content? babyboss Slackware 10 10-02-2004 04:01 AM
httpd.conf & ssl.conf kevinm2 Linux - Security 12 08-31-2004 02:25 PM
saving changes to apache2/conf/httpd.conf file Zaius Linux - Newbie 6 01-10-2004 12:45 AM
httpd chokes on ScriptAlias line in Apache httpd.conf lhoff Linux - Software 1 07-14-2003 11:32 PM


All times are GMT -5. The time now is 09:10 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration