LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   web server configuration (https://www.linuxquestions.org/questions/linux-newbie-8/web-server-configuration-249685/)

cyrilvictor 10-31-2004 11:35 PM

web server configuration
 
pls can any one help me out regarding configuring web servers.

i need the setps to configure web server in linux.


thanks in advance

micxz 11-01-2004 01:43 AM

- First off install a webserver. e.g. Apache
- The read the INSTALL, README and docs.

How far have you gotten?

TigerOC 11-01-2004 04:50 AM

I have my own adsl web server and have some info and links to a number of other howto's which you can find here which may help.

micxz 11-01-2004 05:26 AM

Great Job, TigerOC.

I can only wish I was not so lazy to document my findings and research as you.

Bjorkli 11-01-2004 08:59 AM

Most distributions of Linux would allready have a webserver included. Like Fedora Core x, Debian and so forth. Most likely would this be Apache. To make sure it is running, type "service httd restart", then find the webserver root folder. I have Oracle installed, so it is located in /u01/app/oracle/product/10.1.0/db_2/Apache/Apache/htdocs/ , but if you locate the htdocs folder using command "locate htdocs" you most probably find it somewhere in the list (not sure if the home directory for Apache 2 is called www or wwwhome or something else?? (I still have version 1.3)) You could also maybe find it by locating the index file by using "locate index.htm" command.

Anyway. Once you have found it, but a file called, say "hello.htm" in it with, say, following text:

<H1>Hello</H1>

And try if you can find it in a browser using

http://localhost/hello.htm or
http://127.0.0.1/hello.htm or
http://<your ip>/hello.htm or sometimes the default port 80 is not used, so then you have to type
http://<your ip>:<port used>/hello.htm

This guide is for absolute beginners though....


All times are GMT -5. The time now is 12:21 AM.