I have an apache server installed on Windows 7 .. I use it mainly for testing .. Now, I need to modify the settings of the apache to work as real servers. Below is the list I need to approach.
First: I have multiple Dynamic DNSes registered at
dyndns.com .. I want each one to go to a specific folder .. I have managed to make ports go to different folder, but don't know how to make it with the dynamic DNS or Domain Names ..
Second thing, I usually use shell scripts to test security of the server, whenever I use the shell script, I can navigate to every directory on the server, even I can see other drives ..
How can I force the user to see not be able to navigate outside the folder specified?
EX: www folder exists at C:/wamp/www .. Inside it I have website1 and website2 .. If I upload the shell to website1, I can use it to get the files/folders in website2 .. How can I make the script think that folder website1 is the root folder and has nothing above it??
Last thing, on shared servers, I can access any website hosted with the Domain Name, also with the IP Address of the server followed by a forward slash and
EX: The server address is 220.127.116.11 ... When I go to http://www.website.com I can see the home page .. How can I make http://18.104.22.168/~website goes to the same directory as http://www.website.com
Apologies for the long question :)