httpd.conf

  • Diese Datei liegt beim OSX-integriertem Webserver in
 /private/etc/httpd/httpd.conf
 /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>

(Englische Quelle)

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

Zuletzt geändert am 16.06.2006 17:09 Uhr von Walljet ( Besuche)

© 2004 – 2025 ApfelWiki

Impressum - Datenschutz

cb