Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-13-2004, 04:54 PM   #1
Registered: Aug 2004
Location: CANADA
Distribution: Fedora core4
Posts: 60

Rep: Reputation: 15
apache2 server

Hello everyone

ok this is the story...
im running a fedora core3, up to date, so when i run up2date or apt-get there's no update for it... (kernel version: Linux localhost.localdomain 2.6.9-1.667 #1 Tue Nov 2 14:41:25 EST 2004 i686 athlon i386 GNU/Linux)
I tried to run my http server using the gui program under Applications/system settings/servers, it worked nicely; but then i tried to give it some virtual hosts so every user on my server can have http server (http://myip/~mike or http://myip/~karan ) it didn't work always giving me the forbiden error so i check the file read permissins and everything , i even gave all home/public_html folders the 777 permission; still didn't work anyways i went and downloaded the apache server 2.0.52 / installed it under /usr/local/apache2.
i used the httpd config file and set it up, gave it some home directories...(karan, mike, ...)
and ran it. (/usr/local/apache2/apachectl start)
so everything works fine; i just have to ente http://myip/~user so the homepage will come up
now my question is:
1) How can i get rid of the 1st server?
2) How can i add the 2nd server to my services so it'll start automatically when i start the computer?
3) how can i direct the gui part in fedora so i can use the gui program to edit the files not doing everything maually by going through then .conf files and stuffs...?

best regards
Old 11-13-2004, 06:19 PM   #2
Senior Member
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
To answer your questions:

1. to get rid of the first server, locate the directory of httpd (or apache) and remove that top directory. For example, lets say you have:

/usr/local/apache (apache 1.3.x)
/usr/local/apache2 (apache 2.0)

Therefore, do a 'rm -rf /usr/local/apache'. Afterwards remove the startup script in /etc/init.d

2. To make your apache2 startup, write an init script in /etc/init.d and do a symbolic link from your current run level to that script.

3. I don't do anything GUI on linux, I do it all manually. So, I can't help ya there. Sorry...



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
PHP, APACHE2 server error NoviceW Linux - General 2 05-22-2005 07:46 AM
apache2 server seems busy stoffell Linux - Software 6 02-05-2005 08:26 AM
HTTPD server problems redhat 9 apache2 R Audano Linux - Networking 1 01-02-2005 03:53 PM
How to do a simple Apache2 server in SuSe 9.0? vdogvictor Linux - Newbie 4 03-24-2004 08:01 PM
how do i remove server banners in apache2? groovin Linux - Networking 7 12-12-2002 01:32 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:16 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration