You are here: Home Linux Webserver Apache Basics
Search
Advanced Search…
E-Mail

Webmail: webmail.wyden.com

E-Mail Preferences: postfix.wyden.com/users

E-Mail Administration: postfix.wyden.com

Statistics
Total: 463
Total Pages: 284
Total Folders: 87
Total Files: 18
Total Links: 26
Last modification: 03.02.2012 16:00
 

Apache Basics

by Wyden Silvan last modified 26.11.2009 15:04

Allow a access to a directory only to somebody:

order deny,allow
deny from all
allow from 153.109.95.2

#transparenter proxy
RewriteEngine On
RewriteRule ^(.*)$ http://cu.aws24.brain-tec.ch/$1 [L,P]
RewriteRule ^/stats/(.*) http://localhost/cgi-bin/awstats.langlaufschule-ulrichen.ch/awstats.langlaufschule-ulrichen.ch.pl/$1 [L,P]

#falls bei vservern Fehlermeldung kommt apr_thread_create
sudo apt-get install apache2-mpm-prefork