FollowSymLinks für ein Web aktivieren

Apache, Lighttpd, nginx, Cherokee
Post Reply
gabberbert
Posts: 49
Joined: 2004-04-14 13:59
 

FollowSymLinks für ein Web aktivieren

Post by gabberbert »

Servus, ich hab ein Problem mit dem aktivieren der FollowSymlinks im Apache2.

Aufgebaut ist die confixx_vhost.conf ja folgender masen:

Im oberen Teil:

Code: Select all

<Directory "/srv/www/htdocs/web3/html">
  Options -FollowSymLinks -SymLinksIfOwnerMatch
  <IfModule mod_access.c>
    Allow from all
  </IfModule>
</Directory>
Im unteren Teil:

Code: Select all

<VirtualHost 81.169.174.60:80>
  ServerName filesharingweb.de
  ServerAlias www.filesharingweb.de filesharingweb.com www.filesharingweb.com filesharinweb.com  
    www.filesharinweb.com web3.h5252.serverkompetenz.net emuleboard.de www.emuleboard.de

  DocumentRoot /srv/www/htdocs/web3/html
  SuexecUserGroup web3 ftponly
  ScriptAlias /cgi-bin/ /srv/www/htdocs/web3/html/cgi-bin/
  php_admin_value open_basedir /srv/www/htdocs/web3/
  php_admin_value file_uploads 1
  php_admin_value upload_tmp_dir /srv/www/htdocs/web3/phptmp/
</VirtualHost>
Füge ich jetzt Mittels Httpd Special im Confixx

Code: Select all

Options +FollowSymLinks +SymLinksIfOwnerMatch
ein, wird es im unteren Teil hinein geschrieben.
Doch dort beachtet er es leider nicht.

Wenn ich von Hand im oberen Teil abändere funktioniert es Problemlos.

Meine Frage ist also, wie kann ich mittels Httpd Special auch im oberen Teil Ã?nderungen vornehmen, oder zumindest im unteren Wirksame hinzufügen?

mfG
Gabberbert
und alle ein sonniges Wochenende :-D
ryukia
Posts: 58
Joined: 2004-07-16 14:40
Location: Karlsruhe
 

Re: FollowSymLinks für ein Web aktivieren

Post by ryukia »

"Unten" wirksame sollte gehen, wenn Du bei Httpd Special im Confixx
die Directory-Angaben mit eingibst, also:

Code: Select all

<Directory "/srv/www/htdocs/web3/html"> 
Options +FollowSymLinks +SymLinksIfOwnerMatch
</Directory> 
Ciao
Ryukia
gabberbert
Posts: 49
Joined: 2004-04-14 13:59
 

Re: FollowSymLinks für ein Web aktivieren

Post by gabberbert »

dankeschön der punkt hat gefehlt 8)
Post Reply