Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Basic questions about apache

Status
Not open for further replies.

bmaljeno

IS-IT--Management
Sep 13, 2000
9
HR
I am new with apache and have installed it a week ago.
Hope you can help.
The apache server is part of the Oracle 9i AS and is not online yet ( i am using it on a local network)

1. How do i get a valid domain name? When i put in the httpd.conf file: ServerName i get a error 404, but it works when i enter the IP adress.

2. What lines do i need to enter into the httpd.conf file to make a virtual host?

3. How do i plug in a module? I need to plug in the PL/SQL module.

4. How do i know the version of apache im running?

Help a beginner to start. :)
Thanks guys!
 
First, you need either a subdomain or a FQDN (fully-qualified domain name). You can get one registered thru register.com and the like. As for subdomains, you can always ask a friend or someone you know to set you up with one. Best way to get a free subdomai would be to use a dynamic DNS service like yi.org/hn.org, or dns2go.com.

to make a virtualhost entry in the httpd.conf file, please check my FAQ in this forum about virtualhosts behind firewalls for more information... these are generally very simple, however can develope into quite complex sectiond of code!

To add modules, you need to have the drtiver compiled (linux I presume?) it's got to be a *.so file, and the source, a *.c file. Then you must add entries to the httpd.conf file for the server to use the modules, and at times you wil need to turn module sharing on by recompiling the apache server.

To find the apache version, make a request to your server in a web browser (make sure that the document you request is fake, so you generate a 404 message, it should tell you the version at the bottom) In command line, I think it is apache --v, but I could be wrong. Try apache --h or apache -help for more info.


Hope this helps!!!

Rninja
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top