# modelo (não roda) win easy php ServerType standalone ServerRoot "${path}/apache" PidFile logs/httpd.pid ScoreBoardFile logs/apache_runtime_status #ResourceConfig conf/srm.conf #AccessConfig conf/access.conf Timeout 300 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 15 MaxRequestsPerChild 0 ThreadsPerChild 50 #Listen 3000 #Listen 12.34.56.78:80 Listen 127.0.0.1:80 #BindAddress * #LoadModule vhost_alias_module modules/mod_vhost_alias.so ... LoadModule anon_auth_module modules/mod_auth_anon.so LoadModule php4_module "${path}/php/php4apache.dll" ClearModuleList #AddModule mod_vhost_alias.c AddModule mod_env.c AddModule mod_log_config.c #AddModule mod_mime_magic.c AddModule mod_mime.c AddModule mod_negotiation.c #AddModule mod_status.c #AddModule mod_info.c AddModule mod_include.c AddModule mod_autoindex.c AddModule mod_dir.c AddModule mod_isapi.c AddModule mod_cgi.c AddModule mod_asis.c AddModule mod_imap.c AddModule mod_actions.c #AddModule mod_speling.c AddModule mod_userdir.c AddModule mod_alias.c #AddModule mod_rewrite.c AddModule mod_access.c AddModule mod_auth.c AddModule mod_auth_anon.c #AddModule mod_auth_dbm.c #AddModule mod_auth_digest.c #AddModule mod_digest.c #AddModule mod_proxy.c #AddModule mod_cern_meta.c #AddModule mod_expires.c #AddModule mod_headers.c #AddModule mod_usertrack.c #AddModule mod_unique_id.c AddModule mod_so.c AddModule mod_setenvif.c AddModule mod_php4.c #ExtendedStatus On ### Section 2: 'Main' server configuration #################### Port 80 ServerAdmin silveira@localhost ServerName localhost DocumentRoot "${path}/www" Options FollowSymLinks Indexes AllowOverride All Options Indexes FollowSymLinks Includes AllowOverride All Order allow,deny Allow from all UserDir "${path}/apache/users/" # # AllowOverride FileInfo AuthConfig Limit # Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec # # Order allow,deny # Allow from all # # # Order deny,allow # Deny from all # # DirectoryIndex index.html index.shtml index.wml index.pwml index.php index.php3 index.php4 AccessFileName .htaccess Order allow,deny Deny from all Satisfy All #CacheNegotiatedDocs UseCanonicalName Off TypesConfig conf/mime.types DefaultType text/plain MIMEMagicFile conf/magic HostnameLookups Off ErrorLog logs/error.log LogLevel warn LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common LogFormat "%{Referer}i -> %U" referer LogFormat "%{User-agent}i" agent CustomLog logs/access.log common #CustomLog logs/referer.log referer #CustomLog logs/agent.log agent #CustomLog logs/access.log combined ServerSignature Email #!c:/program files/perl/perl #ScriptInterpreterSource registry # Alias fakename realname Alias /icons/ "${path}/apache/icons/" ... ... ... ... Alias /images_easyphp/ "${path}/home/images_easyphp/" Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all Alias /mysql/ "${path}/phpmyadmin/" Options FollowSymLinks Indexes AllowOverride None Order deny,allow allow from 127.0.0.1 deny from all Alias /home/ "${path}/home/" Options FollowSymLinks Indexes AllowOverride None Order deny,allow allow from 127.0.0.1 deny from all #Alias /manual/ "${path}/apache/htdocs/manual/" # # Options Indexes FollowSymlinks MultiViews # AllowOverride None # Order allow,deny # Allow from all # ScriptAlias /cgi-bin/ "${path}/cgi-bin/" AllowOverride None Options None Order allow,deny Allow from all # End of aliases. IndexOptions FancyIndexing AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip ... ... ReadmeName README HeaderName HEADER IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t # End of indexing directives. # Document types. AddLanguage da .dk LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br AddType application/x-tar .tgz # To use CGI scripts: AddHandler cgi-script .cgi End of document types. #MetaDir .web # Customizable error response (Apache style) #ErrorDocument 500 "The server made a boo boo. #ErrorDocument 404 /missing.html #ErrorDocument 404 /cgi-bin/missing_handler.pl #ErrorDocument 402 http://some.other-server.com/subscription_info.html # Customize behaviour based on the browser BrowserMatch "Mozilla/2" nokeepalive # End of browser customization directives # # SetHandler server-status # Order deny,allow # Deny from all # Allow from localhost # # # SetHandler server-info # Order deny,allow # Deny from all # Allow from localhost # # # Deny from all # ErrorDocument 403 http://phf.apache.org/phf_abuse_log.cgi # # Proxy Server directives. Uncomment the following lines to # enable the proxy server: ... ... ### Section 3: Virtual Hosts #NameVirtualHost * # VirtualHost example: # Almost any Apache directive may go into a VirtualHost container. # The first VirtualHost section is used for requests without a known # server name. # # # ServerAdmin webmaster@dummy-host.example.com # DocumentRoot /www/docs/dummy-host.example.com # ServerName dummy-host.example.com # ErrorLog logs/dummy-host.example.com-error_log # CustomLog logs/dummy-host.example.com-access_log common #