November 23, 2024, 08:12:51 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: [alert] [client ] /home/usea/public_html/.htaccess: Option FollowSyml  (Read 10294 times)

Offline tuxi

  • Linux Noob !
  • *
  • Posts: 20
Hello, I have got an issue which I think I had resolved in past when I asked here. I can't recall where so I am asking again, if anyone knows solution then please let me know.

I am receiving error 500 internal server error on an Apache server.

If I look into apache error logs , I find following lines:
Code: [Select]
Fri Jul 5 21:38:46 2014] [alert] [client 180.76.5.25] /home/usea/public_html/.htaccess: Option FollowSymlinks not allowed here
So, what is the problem here, what I am missing ?

EDIT:

Nevermind, I found the solution, it was .htaccess using old Options +FollowSymlinks

Now it is deprecated, just use : +SymLinksIfOwnerMatch instead of that and problem solved..

So your .htaccess should look like :

Code: [Select]
Options +SymLinksIfOwnerMatch
RewriteEngine on
RewriteCond %{HTTP_HOST} ^.*$
# YOUR more commands goes here..