Click to See Complete Forum and Search --> : apache help
enzo250gto
11-27-2001, 11:09 PM
I have slackware 8.0 with apache. At startup acachectl: httpd is loaded at the end. I want to test php pages before I upload them to a different server. I have 2 computers networked to my linux box. I want to view the pages on them, but I don't want apache to allow others to see my computer or the pages. How do I do this? mysql is also installed.
MarkLeong
11-27-2001, 11:36 PM
I guess the easiest way is to set the rights to the directory containing your php files so that you have the rights to access them.
mangeli
11-27-2001, 11:48 PM
Is your slackware box connected to the internet? Or just the two computers?
klamath
11-28-2001, 12:09 AM
Tell Apache to only listen on the private network interface.
livermoron1
11-28-2001, 12:05 PM
Regarding the last post - you can change the listen parameters in /etc/apache/httpd.conf.
Then restart the server with the command:
apachectl graceful
Also - you could temporarily change the port number in the httpd.conf file to something other than 80 just for testing. If you do that you will have to enter the port number manually in the url.
eg: www.myserverurl.com (http://www.myserverurl.com) :port#
good luck