LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-03-2004, 06:07 PM   #16
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47

why don't you just e-mail your conf file to me -- it'd let me more accuratly help you...
 
Old 11-03-2004, 06:26 PM   #17
LiNuXn00biE_2.4
LQ Newbie
 
Registered: Oct 2004
Distribution: Red Hat 9
Posts: 26

Original Poster
Rep: Reputation: 15
ok I redid everything and here is what I get when I do the commands you gave me

[root@localhost apache]# ls -l /var/www
total 32
drwxr-xr-x 2 root root 4096 Oct 19 19:55 cgi-bin
drwxr-xr-x 3 root root 4096 Oct 19 19:24 error
drwxr-xr-x 4 root root 4096 Oct 26 22:09 html
drwxr-xr-x 3 root mailman 4096 Oct 19 19:56 icons
-rw-r--r-- 1 root root 624 Oct 26 22:06 index.html
drwxr-xr-x 13 root root 4096 Oct 19 19:24 manual
drwxr-xr-x 2 root root 4096 Oct 19 19:54 nut-cgi-bin
drwxr-xr-x 6 root root 4096 Oct 19 20:18 wordtrans
[root@localhost apache]# ls -l /var/www/ht??
total 12
-rw-r--r-- 1 root root 624 Oct 26 22:06 index.html
drwxr-xr-x 2 root root 4096 Oct 19 19:54 mrtg
drwxr-xr-x 2 webalizer root 4096 Oct 19 19:25 usage
[root@localhost apache]#
 
Old 11-03-2004, 06:30 PM   #18
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
not /var/www/ht?? literally -- given your above, it's /var/www/html... but it worked anyway, and your permissions look fine, so it's in your conf file
 
Old 11-03-2004, 06:30 PM   #19
LiNuXn00biE_2.4
LQ Newbie
 
Registered: Oct 2004
Distribution: Red Hat 9
Posts: 26

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by secesh
why don't you just e-mail your conf file to me -- it'd let me more accuratly help you...
Oh sorry... I dont know where the Config file is I dont know if the One I sent you is the one you wanted...
 
Old 11-03-2004, 06:32 PM   #20
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
/usr/local/apache/conf/httpd.conf

that's the file which houses your problem... that's your conf file for apache
 
Old 11-03-2004, 06:34 PM   #21
LiNuXn00biE_2.4
LQ Newbie
 
Registered: Oct 2004
Distribution: Red Hat 9
Posts: 26

Original Poster
Rep: Reputation: 15
oh ok THANKS very much for your help I will send it to you in an email now
 
Old 11-03-2004, 07:59 PM   #22
LiNuXn00biE_2.4
LQ Newbie
 
Registered: Oct 2004
Distribution: Red Hat 9
Posts: 26

Original Poster
Rep: Reputation: 15
I dont have email set up on this Board so if you have responed I don't know it IF you could put your answer in here I Would appreciate it .... Also thanks again for all your generous help
 
Old 11-04-2004, 11:46 AM   #23
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
1--
modify line 306:
DocumentRoot "/root/local/apache/htdocs"
change to
DocumentRoot "/var/www/html/"

2--
same idea for line 331:
<Directory "/root/local/apache/htdocs">
changes to
<Directory "/var/www/html/">

3--
line 267 is bad -
Group #-1
-- this is the reason you get the error:
[warn] Apache does not support line-end comments. Consider using
quotes around argument: "#-1"

4--
Syntax error on line 564 of /usr/local/apache/conf/httpd.conf:
Regular expression could not be compiled.
This error refers to line 564 -
AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|ru))?(/.*)?$
"/root/local/apache/manual$1"

--take the quotes out....

Ect:
This is not a good install of apache... apache in installed under
/root/ on your system, and this will create permission problems for
you... the fixes i provided above should get you up and running
somewhat, but i would suggest reinstalling apache.
- Show quoted text -
 
Old 11-04-2004, 04:17 PM   #24
LiNuXn00biE_2.4
LQ Newbie
 
Registered: Oct 2004
Distribution: Red Hat 9
Posts: 26

Original Poster
Rep: Reputation: 15
Thanks for that but I am confused on Line 564 am I supposed to change it or add quotes to something??

Last edited by LiNuXn00biE_2.4; 11-04-2004 at 04:20 PM.
 
Old 11-04-2004, 04:25 PM   #25
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
well, it's a half-broken install anyways... go ahead and comment out the whole line...
 
Old 11-04-2004, 04:43 PM   #26
LiNuXn00biE_2.4
LQ Newbie
 
Registered: Oct 2004
Distribution: Red Hat 9
Posts: 26

Original Poster
Rep: Reputation: 15
Well I did all you said and it still isnt working so I decided to create a new account for the stupid thing but now whenever I try to do a Make Install
it gives me a bunch of Permission Denied also I was wondering what my ./configure line should look like cause this is what I have

./configure --prefix=/usr/local/apache (could this be cause for the errors??)
 
Old 11-04-2004, 04:48 PM   #27
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
what do you mean you tried to create a new account for it?
 
Old 11-04-2004, 05:34 PM   #28
LiNuXn00biE_2.4
LQ Newbie
 
Registered: Oct 2004
Distribution: Red Hat 9
Posts: 26

Original Poster
Rep: Reputation: 15
I mean I created a new User account on the computer instead of Just Root
 
Old 11-05-2004, 11:16 AM   #29
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
well, an un-privildged user won't have write access to /usr/

the problem with apache isn't that it was installed by root, it's that it was installed under root's directory
 
Old 11-05-2004, 05:36 PM   #30
LiNuXn00biE_2.4
LQ Newbie
 
Registered: Oct 2004
Distribution: Red Hat 9
Posts: 26

Original Poster
Rep: Reputation: 15
oh so how do I change this?? and if this is the reason for all my errors....
 
  


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
Can't su into root as normal user darin3200 Linux - General 13 03-18-2010 12:03 PM
Root? normal user? what does it all mean? Zieroth Linux - Newbie 5 07-16-2004 05:06 PM
Games runs slow as normal user, but fast as root user mcore Linux - Software 2 06-08-2004 12:11 AM
Can print as root but not normal user paranoia1980 Linux - Newbie 4 07-18-2003 05:07 PM
Root and normal user Smooth Linux - Newbie 4 05-27-2003 11:15 AM

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

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