Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 04-11-2004, 11:38 PM   #1
Registered: Apr 2004
Posts: 35

Rep: Reputation: 15
Apache and Suse 9 help

I didnt use Yast to install the Apache or apache 2 packages. I just downloaded the latest source code, and compiled it. then i ran /usr/local/apache2/bin/apachectl start .. So now when I go to my browser and surf i see the introduction page for Apache. So now my question is that how can i setup my HTTP server. Give it the directory to look for files, port to listen to and etc... Also is there a GUi i can use for this?? cause even tho I installed Apache when i go to the Control Center, Network Services and click on HTTP Server, it says i need to install the Apache2 package. How can i let linux know that i compiled the source instead of installing the package? Cause in Yast i want to choose the ASP patch that they have there but then it wont install cause it says i dont have the Apche2 packge installed.. i just want it to know that i have apache 2 installed LOL..

thanks a lot
Old 04-12-2004, 05:22 AM   #2
Senior Member
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,553

Rep: Reputation: 139Reputation: 139
u cant use yast for applications u didnt install with yast. u have to download and install the asp patch yourself.
to configure apache use httpd.conf (probably) located in /usr/local/apache2/conf/
Old 04-12-2004, 05:43 AM   #3
Registered: Dec 2003
Location: Bristol
Distribution: Slackware 10.2
Posts: 196

Rep: Reputation: 30
Unfortunately I've no idea how to tell YaST that you installed something from source (oh how I hate RPM!!!). I don't think you should have installed from source personally, with an RPM based distro its good practice to stick to RPM (saves your machine getting in a mess!).

Anyhow on to the more important stuff (setting up apache), I gotta warn you now I'm no apache guru, I have only one website running on my apache but there's nothing to stop you adding more! First port of call is the apache documentation, this sounds tedious I know but you will actually learn something and make life much easier on yourself, if you go to localhost you should be able to get to the documentation from there. The docs are really rather good and should be the first place to look to do something. As far as getting hosts up and running on apache, I've never used a GUI but I imagine a search on google should throw up lots of results for this!

If you want to do it the good ol' fashioned way (I prefer this since I then have some vague idea what's going on) then you need to open up a terminal and become superuser (su) and then type:

gedit (or pico, whatever your preferred editor is, i like VI personally) /etc/apache2/httpd.conf
right near the bottom of the file is the VirtualHosts bit, there's an example in there that you should be able to work out how to adapt to what you want. for my simple website (I only use it for testing on my localmachine) I have the following:
NameVirtualHost *:80

<VirtualHost *:80>
  DocumentRoot /mnt/web_disc/dhracer
this means any request on port 80 is going to this website, hope this helps a little bit!


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 on Suse 9.2 scdark Linux - Software 1 05-25-2005 05:45 PM
SUSE 9.2/Apache help Gustin SUSE / openSUSE 6 04-14-2005 02:08 AM
Suse and Apache davidt03 Linux - Software 5 01-25-2005 02:49 AM
Apache Suse 9.1 apffal Linux - Software 6 10-31-2004 05:26 PM
Apache 2.0 on Suse 9 help!! kiono Linux - Newbie 0 02-24-2004 09:38 PM > Forums > Linux Forums > Linux - Software

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