Help - Search - Members - Calendar
Full Version: HTTP server
Linuxhelp > Support > Technical Support
tuxitux
I have a question what can i do with a HTTP Server?? And is it possible that you can access a linux computer that is in a network from another computer outside of that network??? how could i do this?? like over the internet or so?? if it is possible could you please tell me how i could do this the easiest way and the savest??

Thanx for ya help guys
michaelk
You can configure your webserver like almost anything else you see on the internet. From forums like this one to just posting your own blog. The typical home ISP does not provide enough bandwith for movies or music.

Wether or not you can access a computer on a local network from the internet depends on the network.
If this is a home network and your ISP allows webservers then yes. If this computer is behind a university network then probably not.

You have not provided enough information on your network for any sort of detailed answers.
tuxitux
okay thanx for this info...another question...i started an http server now...i did an index page but how do i link it to the server in yast??
michaelk
I am not real familar with SuSE but you would copy the index.html file to the location of documentroot directory.
The web page should be displayed using the URL http://localhost/ or http://ip_address/ or http://hostname/ where hostname is the actual hostname of this computer.

http://www-uxsup.csx.cam.ac.uk/pub/doc/sus...cha.apache.html
g33k
In your home directory there should be a directory public_html
Just keep the files index.php and any other html files there..
The index.php in your_home_directory/public_html/ can be accessed using
CODE
http://localhost/~username/index.php
tuxitux
i put the index.html into the public folder and then retried and when i now try to access the message come that i got timed out...i says it tried to connect to 192.168.1.5 port 80 and that is what i have in the settings...what do i have to change.???
g33k
Try opening the page http://localhost/ do you see a default apache page there..if apache is properly configured then you should be able to see the apache default page..
tuxitux
What if i dont?? :S

Access forbidden!
You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.
If you think this is a server error, please contact the webmaster.
Error 403
localhost
Wed Aug 30 19:36:08 2006
Apache/2.0.54 (Linux/SUSE)

from a different machine though i see the test page....how can i configure apache???
g33k
Try setting up apache using this guide..
can you access the page http://youripaddress/~username/ from another computer ??
DS2K3
Have a read through webmonkey.com - It is generally excellent. HOWEVER, I really don't think you should be trying to set up a public web server before you have grasped the basics of such a service. Apache is complicated software with a lot of features and the potential to open up huge security holes on your server and network. Add to that the potential complexity of configuring your network to let http requests through to the server and you have a learning curve which quickly approaches an asymptote.

It's a good thing to do, and you will learn a lot, but don't try to walk before you can run. Understand Apache and understand your network, and then combining the two into a live HTTP service should become something which you can understand your way through. You will learn far more and end up with a better result through doing so.

D
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.