httpd.conf
- Diese Datei liegt beim OSX-integriertem Webserver in
/private/etc/httpd/httpd.conf
- Bei dem Apache2-Webserver liegt sie in
/Library/Apache2/config/
HTTP-Proxy öffnen
mit dieser Einstellung können alle Benutzer im Netz 192.168.178.(1-255) den HTTP-Proxy Port 80 nutzen, und so z.B. im Internet surfen. Füge zur httpd.conf hinzu:
ProxyRequests On ProxyVia On <Proxy *> Order Deny,Allow Deny from all Allow from 192.168.178 </Proxy>
Index Dateien für Ordner
Hier bestimmst Du, welche Dateien geöffnet werden sollen, wenn in der URL lediglich der Ordnername angegeben ist. Füge der httpd.conf hinzu, bzw. ändere auf:
DirectoryIndex index.php index.php3 index.php4 index.html index.html.var index.htm
PHP integrieren
Füge der httpd.conf hinzu, bzw. ändere auf:
LoadModule php4_module /Library/Apache2/modules/libphp4.so AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps