LinuxQuestions.org
Register a domain and help support LQ
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, 11: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, 01: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, 02:03 PM   #18
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Honolulu, HI
Distribution: Arch
Posts: 1,380

Rep: Reputation: 47
ok, you're still having problems?
 
Old 01-13-2006, 02: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, 02:29 PM   #20
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Honolulu, HI
Distribution: Arch
Posts: 1,380

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, 05: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, 05:23 PM   #22
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Honolulu, HI
Distribution: Arch
Posts: 1,380

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, 05: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, 07: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, 07:59 PM   #25
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Honolulu, HI
Distribution: Arch
Posts: 1,380

Rep: Reputation: 47
didn't you move it?
 
Old 01-13-2006, 08: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, 01: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


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


All times are GMT -5. The time now is 08:04 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