[Phpslash-commit] CVS: phpslash-dev/contrib phpslash-apache-virtualhost,NONE,1.1
Brought to you by:
joestewart,
nhruby
From: Luis M <le...@us...> - 2004-10-21 17:21:26
|
Update of /cvsroot/phpslash/phpslash-dev/contrib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20771 Added Files: phpslash-apache-virtualhost Log Message: a generic/example phpslash virtualhost file --- NEW FILE: phpslash-apache-virtualhost --- # vim: ft=apache : # Luis Mondesi < lems1 __AT__ users sourceforge net > # This is a sample virtualhost site for apache/apache2. To enable this # simple drop this file in your "conf.d" directory (for apache1) # or in "sites-available" for apache 2 and execute this from a command line: # a2enable phpslash-apache-virtualhost # # It assumes that phpslash has been unpacked in "/var/www/phpslash". And # that your server IP is 127.0.0.1 and servername is "localhost". # # You will need to modify this file to suit your needs. # # ----------- Modify from here: # - set this to your IP: NameVirtualHost 127.0.0.1 # - also put your IP here: <VirtualHost 127.0.0.1> # - set this to your real webmaster: ServerAdmin webmaster@localhost # - set this to the FQDN of your site: i.e. www.domain.com ServerName localhost # - last, set these two lines to the path of /path/to/phpslash/public_html (file path; not visible from the URL): DocumentRoot /var/www/phpslash/public_html <Directory /var/www/phpslash/public_html> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all </Directory> # Uncomment these lines if needed: # - do not allow trans session ids to show in the URL: #php_flag session.use_trans_sid off # - do not quote automagicly GET/POST variables: #php_flag magic_quotes_runtime off # - do not #php_flag magic_quotes_gpc off # ------------ End Modify (no need to go beyond) <Directory /> Options FollowSymLinks AllowOverride None </Directory> # Uncomment the following to enable CGI support... not needed for phpslash # ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ # <Directory "/usr/lib/cgi-bin"> # AllowOverride None # Options ExecCGI -MultiViews +SymLinksIfOwnerMatch # Order allow,deny # Allow from all # </Directory> ErrorLog /var/log/apache2/error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog /var/log/apache2/access.log combined ServerSignature On Alias /icons/ "/usr/share/apache2/icons/" <Directory "/usr/share/apache2/icons"> Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all </Directory> Alias /doc/ "/usr/share/doc/" <Directory "/usr/share/doc/"> Options Indexes MultiViews FollowSymLinks AllowOverride None Order deny,allow Deny from all Allow from 127.0.0.0/255.0.0.0 ::1/128 </Directory> </VirtualHost> |