The web server can be started on my in any directory through the following command:
# python -m SimpleHTTPServer 8000
(port number can be changed)
or the default apache server can also be started through:
# sudo apachectl start
The default localhost folder located here: /Library/WebServer/Documents or as per
configuration in apache2 config files.
Default apache is installed in /etc/apache2/ with all
its configuration files (httpd.conf).
# python -m SimpleHTTPServer 8000
(port number can be changed)
or the default apache server can also be started through:
# sudo apachectl start
The default localhost folder located here: /Library/WebServer/Documents or as per
configuration in apache2 config files.
Default apache is installed in /etc/apache2/ with all
its configuration files (httpd.conf).
No comments:
Post a Comment