FollowSymLinks per confixx aktivieren

Apache, Lighttpd, nginx, Cherokee
Post Reply
marc75
Posts: 6
Joined: 2004-11-09 08:44
 

FollowSymLinks per confixx aktivieren

Post by marc75 »

Hallo Leute,

ich habe folgenden Code per httpd spezial (confixx) eingefügt.

Code: Select all

<Directory "/home/htdocs/web1/html">
  Options +FollowSymLinks +SymLinksIfOwnerMatch
</Directory>

Leider zeigt der Code keine Wirkung. Erhalte immer ein Error 500
wenn ich eine .htaccess mit folgenden Code hochlade:

Code: Select all

RewriteEngine on 
Options +FollowSymlinks 
RewriteBase /

RewriteRule ^index.html$ /index.php
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: FollowSymLinks per confixx aktivieren

Post by Joe User »

Ungetestet:

Code: Select all

RewriteEngine on 
RewriteBase /
RewriteCond %{REQUEST_URI} ^index.html$
RewriteRule ^index.html$ /index.php [L,R=301]
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
marc75
Posts: 6
Joined: 2004-11-09 08:44
 

Re: FollowSymLinks per confixx aktivieren

Post by marc75 »

das gibt ein 404

Code: Select all

RewriteEngine on 
#Options +FollowSymlinks 
sobalt ich die Options auskommentiere/entferne ist der 500er zwar weg aber alle Ruleversuche funktionieren nicht, gibt immer 404 wenn ich index.html aufrufen will.
duergner
Posts: 923
Joined: 2003-08-20 11:30
Location: Pittsburgh, PA, USA
 

Re: FollowSymLinks per confixx aktivieren

Post by duergner »

Das Options ist denk ich mal einfach durch deine Einstellung in Bezug auf AllowOverride hier nicht erlaubt. Näheres sagt dir das Error Log.

Bei den Rewrite Sachen musst einfach mal noch etwas testen und Apache Doku lesen.
marc75
Posts: 6
Joined: 2004-11-09 08:44
 

Re: FollowSymLinks per confixx aktivieren

Post by marc75 »

duergner wrote:Das Options ist denk ich mal einfach durch deine Einstellung in Bezug auf AllowOverride hier nicht erlaubt. Näheres sagt dir das Error Log.

Bei den Rewrite Sachen musst einfach mal noch etwas testen und Apache Doku lesen.
läßt sich AllowOverride auch über httpd-spezial ändern?

Die Rules selber sind ja eigentlich ok, denn beim normalen Webspace vom provider funktionieren die ja.
marc75
Posts: 6
Joined: 2004-11-09 08:44
 

Re: FollowSymLinks per confixx aktivieren

Post by marc75 »

Hiermit geht es

Code: Select all

<Directory "/home/htdocs/web1/html"> 
  AllowOverride All
  Options +FollowSymLinks +SymLinksIfOwnerMatch 
</Directory> 
Post Reply