LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 01-13-2006, 10:20 AM   #16
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61

Small "rule of thumb":
system configs, especially those from daemons like httpd/apache, should go in /etc somewhere.
user programs and settings, go in /usr, /usr/local and stuff
system programs go to /bin or /sbin
/proc is for kernel info
/var is run time info (like pid files, spools, logs, etc)

But of course, you can set up your machine anyway you like.
 
Old 01-13-2006, 12:53 PM   #17
cashton2k
Member
 
Registered: May 2004
Posts: 46

Original Poster
Rep: Reputation: 15
The httpd.conf is located in the /etc/httpd/conf directory.
 
Old 01-13-2006, 01:03 PM   #18
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381

Rep: Reputation: 47
ok, you're still having problems?
 
Old 01-13-2006, 01:15 PM   #19
cashton2k
Member
 
Registered: May 2004
Posts: 46

Original Poster
Rep: Reputation: 15
yeah i still can get apache to show the latest versions of my html files
 
Old 01-13-2006, 01:29 PM   #20
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381

Rep: Reputation: 47
are you editing the correct index file? Isn't it in /var/www/html/ ? see if you have a index.html in there.
 
Old 01-13-2006, 04:21 PM   #21
cashton2k
Member
 
Registered: May 2004
Posts: 46

Original Poster
Rep: Reputation: 15
yeah it displays the first version of the file I made (index.htm) but not the edited version
 
Old 01-13-2006, 04:23 PM   #22
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381

Rep: Reputation: 47
then try
mv /var/www/html/index.htm /var/www/html/index.htm.backup

Then refresh your browser on your page

the index.htm is the one you don't want, correct?
 
Old 01-13-2006, 04:51 PM   #23
cashton2k
Member
 
Registered: May 2004
Posts: 46

Original Poster
Rep: Reputation: 15
cheers that worked only prob now is im only getting the apache test page
 
Old 01-13-2006, 06:55 PM   #24
cashton2k
Member
 
Registered: May 2004
Posts: 46

Original Poster
Rep: Reputation: 15
the document root is set to the right directory it wont open index.htm now weird
 
Old 01-13-2006, 06:59 PM   #25
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381

Rep: Reputation: 47
didn't you move it?
 
Old 01-13-2006, 07:27 PM   #26
cashton2k
Member
 
Registered: May 2004
Posts: 46

Original Poster
Rep: Reputation: 15
the new index.htm file i made, wont come up
 
Old 01-14-2006, 12:32 PM   #27
cashton2k
Member
 
Registered: May 2004
Posts: 46

Original Poster
Rep: Reputation: 15
anyone good with .htaccess i cud really do with some help?

cheers for the help previously guys i really appreciate it
 
  


Reply



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/1.3.31 (Unix) Startup, NEED help w0lv3rin3 Linux - Software 1 10-24-2004 11:11 AM
Making apache .htaccess use unix passwords Mikessu Linux - Networking 0 07-01-2004 01:05 AM
Why did you experienced users of Unix change to unix over Windows? Laptop2250 Linux - General 11 10-28-2003 11:51 AM
The Best Method to install Set up a Unix System with PERL, PHP and Apache rhuser Linux - Software 1 03-01-2003 10:31 PM
man.linuxquestions.org is running Apache/1.3.24 (Unix) PHP/4.2.0 rverlander LQ Suggestions & Feedback 3 09-08-2002 12:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:53 AM.

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
Open Source Consulting | Domain Registration