Apache On Lan

thezone1

New Member
Messages
192
Reaction score
0
Points
0
Hi ppl,
i have just started learning php and as i understand it is much easier to run apache with php on a local system or network for a easy testing enviroment, i have got the apache and the php both up and running but as i have a home network id like to be able to test the sites over the network, this works although i have to input the ip of the server on the networked machines, my question is , is there a way to have just a name for the server the current settings are

Domain: localhost

Server name: localhostthe
ip of the server is : 192.168.0.1

Thanks in advance (and please make it idiot proof if you can lol) also can anyone help me on blocking port 80 to incomming connection (its windows firewall) i do know how its done i just cant find it in vista.....
 
Last edited:

thezone1

New Member
Messages
192
Reaction score
0
Points
0
Is there another way ?? i read somewhere that the various packages are not endorced in anyway or summit like tht lol
 

lambada

New Member
Messages
2,444
Reaction score
0
Points
0
Look at the Listen line of your httpd.conf and set the ip's of your network or range of. You may need to forward internal packets to your PC on a a port aswell. Try 8080 thats a common home apache port and doesnt interfere with normal traffic. Remember to specify 8080 as the port in your httpd.conmf on the same line as the previous thing.
 

thezone1

New Member
Messages
192
Reaction score
0
Points
0
thanks lambada helped alot (no as such but pointed me in the right direction i jsut lack common sense lol )

Just another thing now lol i hate to drag this topic on but i was wondering is there a way to change the default page apache uses to list directorys

Example,

webroot/private/ - would display

* file 1
* folder 1
Etc....

Everyone else i ask seems to think i mean "how do i set my webroot"?? lol
what i realy mean is how do i change the style such as add pictures (similar to the way you can customize the 404 page) and other text

thanks to anyone in advance
 
Last edited:
Top