Apache
1. to test a web server which is hosting the virtual host, using only telnet, what would you type at the telnet prompt?
2. what fields would you expect to have to define in a Virtual-Host definition in apache? 3. Apache runs as a user, usually "Apache" or "httpd". For apache to serve a file from a user's public_html directory, what permissions would be required? |
1.You can use telnet domainname 80
2.NameVirtualHost *:80 plus something like the following <VirtualHost *:80> ServerName xxxx DocumentRoot xxxx <Directory "xxxx"> Order allow,deny Allow from all </Directory> </VirtualHost> 3.read permissions |
yzhong is correct, but if you are using PHP, you might need execute permissions, too...if I'm not mistaken.
--scott |
Homework :confused:
|
All times are GMT -5. The time now is 01:11 AM. |