Results 1 to 10 of 12
okay, I've gone off and confused myself. When I set my router to recieve calls on port 80, do I tell it the ip of the linux machine or the ...
- 07-25-2005 #1Just Joined!
- Join Date
- Jul 2005
- Posts
- 14
Apache Mess
okay, I've gone off and confused myself. When I set my router to recieve calls on port 80, do I tell it the ip of the linux machine or the actuall virtual server which is http://127.0.0.1
????
Oh yeah, i keep putting a html file in the /var/www/html folder and the test page keeps popping up? its called index.html
RedFox
- 07-25-2005 #2Linux Engineer
- Join Date
- Apr 2005
- Location
- Buenos Aires, Argentina
- Posts
- 908
Have you checked what's in /var/www/htdocs?
serzsite.com.ar
"All the drugs in this world won\'t save you from yourself"
- 07-25-2005 #3Just Joined!
- Join Date
- Jul 2005
- Posts
- 14
apache doesn't set up that folder when its installed. Plus all the docs say your suppose to put in it var/www/html folder ???
- 07-26-2005 #4Linux Engineer
- Join Date
- Apr 2005
- Location
- Buenos Aires, Argentina
- Posts
- 908
Do a ls -l /var/www/html and post the output..
Well, the place where you put the files depends on the distro
So :Pserzsite.com.ar
"All the drugs in this world won\'t save you from yourself"
- 07-26-2005 #5
For the ip you should use the external ip for the machine not the localhost(127.0.0.1) only your machine can connect to the loop back.
- 07-26-2005 #6Just Joined!
- Join Date
- Jul 2005
- Posts
- 14
I now the router open up on 80 88 8080 1080 going to the ip of the linux machine. I can open the test page from the lan computer but not from the internet.
Does anybody know where a good tutorial is about webmin, i can't find a "good" one.
- 07-26-2005 #7Just Joined!
- Join Date
- Jul 2005
- Posts
- 14
the default for red hat is var/www/html the ls for that folder is
index.html
weird huh?
- 07-26-2005 #8Linux Engineer
- Join Date
- Apr 2005
- Location
- Buenos Aires, Argentina
- Posts
- 908
Tried cleaning your browser cache? You should be able to see that index.html you put there and not the Apache default page..
serzsite.com.ar
"All the drugs in this world won\'t save you from yourself"
- 07-26-2005 #9Just Joined!
- Join Date
- Jul 2005
- Posts
- 14
i reformatted, and installed something called webmin, and the var/www/html folder works now? I gues i just needed to start over new,
if you anybody knows how to use webmin to set up an html web server let me know
- 07-26-2005 #10Linux Newbie
- Join Date
- Jun 2005
- Location
- Whitstable, Kent, England
- Posts
- 136
You wont be able to test your external IP unless you are accessing it from an external host or VPNing to an external network. Ask a friend to test it for you when you are on a IRC server of using a messenger service, this is what I do anyway.
Webmin is pretty easy to set-up and there should be some install instructions on their site. Have a look at this:
http://www.webmin.com/download.html
I tend to use the .tar.gz version as it lets you tweak the settings a bit more but is still quite easy to do. If the instructions there arn't making much sense then just post for help, I know the install quite well :PThe biggest security threat is the user.


Reply With Quote