First of all: I Love ISPCONFIG! Second: I Love the support forum. So here is the question: On every page that i have where a .htaccess file is there is a error: 500 Internal Server Error. In the log: /var/log/apache2/error.log There is NOTHING related to this. So, in other topics i have read that you must make Apache as a module. but.. Al my websites are always Apache ad module! (Mod-PHP) So the question is: Where can i find more about the errors? Is there another log? Tnx in advance, John DELFT-Netherlands.
Found it!! Code: [Sun Jun 21 16:32:52 2009] [alert] [client 94.209.157.94] /var/www/haaglandenvoetbalt.tv/web/.htaccess: Options not allowed here What do i need to do?
Your .htaccess file contains settings that are not allowed for .htaccess files. Copy the content of the .htaccess file into the apache directives field of the website and then delete the .htaccess file or set other AllowOverride settings for this website.
Hmm Code: <IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^rss/new/?$ rss.php?type=new [L] RewriteRule ^rss/comments/?$ rss.php?type=comments [L] RewriteRule ^rss/views/?$ rss.php?type=views [L] RewriteRule ^rss$ rss_feeds.php [L] RewriteRule ^categories/([0-9]+)/([0-9]+)/(.*) channel_detail.php?chid=$1&page=$2 [L] RewriteRule ^categories/([0-9]+)/(.*) channel_detail.php?chid=$1 [L] RewriteRule ^video/edit/([0-9]+)$ my_vdo_edit.php?VID=$1 [L] RewriteRule ^video/([0-9]+)/(.*)/([a-z]+)/(.*) view_video.php?vid=$1&action=$2&%{QUERY_STRING} [L] RewriteRule ^video/([a-z][a-z])/([0-9]+)/(.*) view_video.php?vid=$2&category=$1%{QUERY_STRING} [L] RewriteRule ^video/([a-z][a-z])/([0-9]+)/([0-9]+)/(.*) view_video.php?vid=$3&category=$1&page=$2%{QUERY_STRING} [L] RewriteRule ^video/basic/([a-z][a-z])/([0-9]+)/([0-9]+) view_video.php?vid=$3&category=$1&page=$2&viewtype=basic%{QUERY_STRING} [L] RewriteRule ^video/basic/([a-z][a-z])/([0-9]+)/([0-9]+)/(.*) view_video.php?vid=$3&category=$1&page=$2&viewtype=basic%{QUERY_STRING} [L] RewriteRule ^video/detailed/([a-z][a-z])/([0-9]+)/([0-9]+) view_video.php?vid=$3&category=$1&page=$2&viewtype=detailed%{QUERY_STRING} [L] RewriteRule ^video/detailed/([a-z][a-z])/([0-9]+)/([0-9]+)/(.*) view_video.php?vid=$3&category=$1&page=$2&viewtype=detailed%{QUERY_STRING} [L] RewriteRule ^video/([0-9]+)/?(.*) view_video.php?vid=$1&%{QUERY_STRING} [L] RewriteRule ^videos/basic/([a-z][a-z])/([0-9]+)$ video.php?viewtype=basic&page=$2&category=$1 [L] RewriteRule ^videos/detailed/([a-z][a-z])/([0-9]+)$ video.php?viewtype=detailed&page=$2&category=$1 [L] RewriteRule ^videos/basic/([0-9]+)$ video.php?viewtype=basic&page=$1 [L] RewriteRule ^videos/detailed/([0-9]+)$ video.php?viewtype=detailed&page=$1 [L] RewriteRule ^videos/basic/([a-z][a-z])$ video.php?viewtype=basic&category=$1 [L] RewriteRule ^videos/detailed/([a-z][a-z])$ video.php?viewtype=detailed&category=$1 [L] RewriteRule ^users/([A-Za-z0-9_\-]+)$ uprofile.php?username=$1 [L] RewriteRule ^users/([A-Za-z0-9_\-]+)/subscribe/on/([a-z])$ uprofile.php?subscribe=on&username=$1&info=$2 [L] RewriteRule ^users/([A-Za-z0-9_\-]+)/subscribe/off/([a-z])$ uprofile.php?subscribe=off&username=$1&info=$2 [L] RewriteRule ^users/([A-Za-z0-9_\-]+)/videos/public/([0-9]+)$ uvideos.php?username=$1&type=public&page=$2 [L] RewriteRule ^users/([A-Za-z0-9_\-]+)/videos/private/([0-9]+)$ uvideos.php?username=$1&type=private&page=$2 [L] RewriteRule ^users/([A-Za-z0-9_\-]+)/videos/public$ uvideos.php?username=$1&type=public [L] RewriteRule ^users/([A-Za-z0-9_\-]+)/videos/private$ uvideos.php?username=$1&type=private [L] RewriteRule ^users/([A-Za-z0-9_\-]+)/favorites/([0-9]+)$ ufavour.php?username=$1&page=$2 [L] RewriteRule ^users/([A-Za-z0-9_\-]+)/favorites ufavour.php?username=$1 [L] RewriteRule ^users/([A-Za-z0-9_\-]+)/friends/([0-9]+)$ ufriends.php?username=$1&page$2 [L] RewriteRule ^users/([A-Za-z0-9_\-]+)/friends ufriends.php?username=$1 [L] RewriteRule ^users/([A-Za-z0-9_\-]+)/playlists/([0-9]+)$ uplaylist.php?username=$1&page=$2 [L] RewriteRule ^users/([A-Za-z0-9_\-]+)/playlists uplaylist.php?username=$1 [L] RewriteRule ^users/([A-Za-z0-9_\-]+)/groups/([0-9]+)$ ugroups.php?username=$1&page=$2 [L] RewriteRule ^users/([A-Za-z0-9_\-]+)/groups$ ugroups.php?username=$1 [L] RewriteRule ^group/edit/([A-Za-z0-9_\-]+)$ my_group_edit.php?urlkey=$1 [L] RewriteRule ^group/add/video/([A-Za-z0-9_\-]+)/([0-9]+)$ add_video.php?urlkey=$1&gid=$2 [L] RewriteRule ^group/add/video/([A-Za-z0-9_\-]+)/([0-9]+)/([0-9]+)$ add_video.php?urlkey=$1&gid=$2&page=$3 [L] RewriteRule ^group/add/favorite/([A-Za-z0-9_\-]+)/([0-9]+)$ add_video.php?urlkey=$1&gid=$2 [L] RewriteRule ^group/add/favorite/([A-Za-z0-9_\-]+)/([0-9]+)/([0-9]+)$ add_video.php?urlkey=$1&gid=$2&page=$3 [L] RewriteRule ^group/([A-Za-z0-9_\-]+)/videos/([0-9]+)/([0-9]+)$ gvideos.php?urlkey=$1&gid=$2&page=$3 [L] RewriteRule ^group/([A-Za-z0-9_\-]+)/videos/([0-9]+)$ gvideos.php?urlkey=$1&gid=$2 [L] RewriteRule ^group/([A-Za-z0-9_\-]+)/members/([0-9]+)/([0-9]+)$ gmembers.php?urlkey=$1&gid=$2&page=$3 [L] RewriteRule ^group/([A-Za-z0-9_\-]+)/members/([0-9]+)$ gmembers.php?urlkey=$1&gid=$2 [L] RewriteRule ^group/([A-Za-z0-9_\-]+)/posts/([0-9]+)/([0-9]+)$ group_posts.php?urlkey=$1&gid=$2&tid=$3 [L] RewriteRule ^group/([A-Za-z0-9_\-]+)/([0-9]+)$ groups_home.php?urlkey=$1&page=$2 [L] RewriteRule ^group/([A-Za-z0-9_\-]+)$ groups_home.php?urlkey=$1 [L] RewriteRule ^group/([A-Za-z0-9_\-]+)/?(.*)$ groups_home.php?urlkey=$1&%{QUERY_STRING} [L] RewriteRule ^usergroups/([a-z][a-z])/([0-9]+)$ groups.php?b=$1&page=$2 [L] RewriteRule ^usergroups/([a-z][a-z])$ groups.php?b=$1 [L] RewriteRule ^usergroups/([0-9]+)$ groups.php?page=$1 [L] RewriteRule ^usergroups$ groups.php [L] RewriteRule ^create/group$ create_group.php [L] RewriteRule ^tags$ more_tags.php [L] RewriteRule ^tags/([0-9]+)/(.*) search_result.php?search_id=$2&page=$1 [L] RewriteRule ^tags/(.*) search_result.php?search_id=$1 [L] RewriteRule ^related/([A-Za-z0-9_\-]+)$ search_result.php?search_type=related&search_key=$1 [L] RewriteRule ^search/([0-9]+)/?(.*)$ search_result.php?page=$1&%{QUERY_STRING} [L] RewriteRule ^search/basic/?(.*)$ search_result.php?viewtype=basic&%{QUERY_STRING} [L] RewriteRule ^search/detailed/?(.*)$ search_result.php?viewtype=detailed&%{QUERY_STRING} [L] RewriteRule ^search/(.*)$ search_result.php?%{QUERY_STRING} [L] RewriteRule ^community/avatar/([0-9]+)/?$ members.php?type=avatar&page=$1 [L] RewriteRule ^community/([0-9]+)/?$ members.php?page=$1 [L] RewriteRule ^community/avatar/?$ members.php?type=avatar [L] RewriteRule ^community$ members.php [L] RewriteRule ^uploadsuccess/([a-z0-9]+)$ upload_success.php?viewkey=$1&upload=yes [L] RewriteRule ^upload/?$ upload.php?%{QUERY_STRING} [L] RewriteRule ^userfriends/favorites/([1-9]+)$ ffavour.php&page=$1 [L] RewriteRule ^userfriends/favorites$ ffavour.php [L] RewriteRule ^userfriends/videos/([1-9]+)$ fvideos.php&page=$1 [L] RewriteRule ^userfriends/videos$ fvideos.php [L] RewriteRule ^userfriends/([a-zA-z]+)/([a-z]+)/([1-9]+)$ friends.php?view=$1&sort=$2&page=$3 [L] RewriteRule ^userfriends/([a-z]+)/([1-9]+)$ friends.php?sort=$1&page=$2 [L] RewriteRule ^userfriends$ friends.php [L] RewriteRule ^videos$ video.php?next=watch [L] RewriteRule ^categories$ channels.php [L] RewriteRule ^signup$ signup.php [L] RewriteRule ^login$ login.php [L] RewriteRule ^logout$ logout.php [L] RewriteRule ^help$ help.php [L] RewriteRule ^invite/([0-9]+)/?(.*)$ invite_friends.php??UID=$1&%{QUERY_STRING} [L] RewriteRule ^invite/([0-9]+)$ invite_friends.php??UID=$1 [L] RewriteRule ^invite$ invite_friends.php [L] RewriteRule ^advertise$ dev.php [L] RewriteRule ^terms$ terms.php [L] RewriteRule ^privacy$ privacy.php [L] RewriteRule ^about$ about.php [L] RewriteRule ^my_profile$ my_profile.php [L] RewriteRule ^my_videos/([0-9]+)/?$ my_video.php?page=$1 [L] RewriteRule ^my_videos$ my_video.php [L] RewriteRule ^my_favorites/([0-9]+)$ my_favour.php?page=$1 [L] RewriteRule ^my_favorites$ my_favour.php [L] RewriteRule ^my_playlists/([0-9]+)$ my_playlist.php?page=$1 [L] RewriteRule ^my_playlists$ my_playlist.php [L] RewriteRule ^my_group/([0-9]+)$ mygroup.php?page=$1 [L] RewriteRule ^my_group$ mygroup.php [L] RewriteRule ^recoverpassword/?$ recoverpass.php [L] RewriteRule ^compose/([A-Za-z0-9_\-]+)$ compose.php?receiver=$1 [L] RewriteRule ^compose$ compose.php [L] RewriteRule ^mail/outbox/([0-9]+)$ outbox.php?page=$1 [L] RewriteRule ^mail/outbox$ outbox.php [L] RewriteRule ^mail/inbox/([0-9]+)$ inbox.php?page=$1 [L] RewriteRule ^mail/inbox$ inbox.php [L] </IfModule> <IfModule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off </IfModule> <IfModule mod_gzip.c> mod_gzip_on No </IfModule> If i put that in the apache directives, i get a 500 internal server fault; and nothing in the error.log! Can you help me out?
You must be looking in the wrong error log. Check /var/log/ispconfig/httpd/ your host name /error.log
Code: [alert] [client 94.209.157.94] /var/www/haaglandenvoetbalt.tv/web/.htaccess: Options not allowed here, referer: http://www.haaglandenvoetbalt.tv/ Same error...
You must have included an Options directive in the wrong context in your .htaccess. See: http://httpd.apache.org/docs/2.2/mod/core.html#options
Okay.. Now i'm feeling myself really a n00b; I really don't know which function i need to include. Wouter.. Are you dutch?
@ jvdk, Someone told me when I had the same problem "comment out all lines, then uncomment line after line to find the evil ( error 500 causing ) one" Lucky for me I had a small .htaccess file but it worked for me. Succes !
Damn.. But the file comes from a external company.. I will comment al the lines out till i don't have any error
Thats impossible that you have options there if you deleted the .htaccess file. Delete that file after you copied the content into the apache directives field of the website.
I have moved the file to another extension (txt) Before i copied the content into the apache directives.. Is that a problem?
Code: RewriteEngine on #Category rewrite RewriteCond %{REQUEST_URI} !.php RewriteRule ^videos/([^/]+)/?$ index.php?id=7&crw=$1 [L] RewriteRule ^videos/([^/]+)/([0-9]+)/?$ index.php?id=7&crw=$1&page=$2 [L] RewriteRule ^videos/([^/]+)/_([^/]+)/?$ index.php?id=7&crw=$1&scrw=$2 [L] RewriteRule ^videos/([^/]+)/_([^/]+)/([0-9]+)/?$ index.php?id=7&crw=$1&scrw=$2&page=$3 [L] #Individual media RewriteCond %{REQUEST_URI} !.php RewriteRule ^play/([^/]+)/_([^/]+)/__([^/]+)/([^/]+)/___([^/]+)/([0-9]+)/?$ index.php?id=8&crw=$1&scrw=$2&sscrw=$3&vrw=$4&tab=$5&num=$6 [L] RewriteRule ^play/([^/]+)/_([^/]+)/__([^/]+)/([^/]+)/___([^/]+)/?$ index.php?id=8&crw=$1&scrw=$2&sscrw=$3&vrw=$4&tab=$5 [L] RewriteRule ^play/([^/]+)/_([^/]+)/([^/]+)/(___[^/]+)/([0-9]+)/?$ index.php?id=8&crw=$1&scrw=$2&vrw=$3&tab=$4&num=$5 [L] RewriteRule ^play/([^/]+)/_([^/]+)/__([^/]+)/([^/]+)/?$ index.php?id=8&crw=$1&scrw=$2&sscrw=$3&vrw=$4 [L] RewriteRule ^play/([^/]+)/_([^/]+)/([^/]+)/___([^/]+)/?$ index.php?id=8&crw=$1&scrw=$2&vrw=$3&tab=$4 [L] RewriteRule ^play/([^/]+)/([^/]+)/___([^/]+)/([0-9]+)/?$ index.php?id=8&crw=$1&vrw=$2&tab=$3&num=$4 [L] RewriteRule ^play/([^/]+)/___([^/]+)/([0-9]+)/?$ index.php?id=8&vrw=$1&tab=$2&num=$3 [L] RewriteRule ^play/([^/]+)/([^/]+)/___([^/]+)/?$ index.php?id=8&crw=$1&vrw=$2&tab=$3 [L] RewriteRule ^play/([^/]+)/_([^/]+)/([^/]+)/?$ index.php?id=8&crw=$1&scrw=$2&vrw=$3 [L] RewriteRule ^play/([^/]+)/___([^/]+)/?$ index.php?id=8&vrw=$1&tab=$2 [L] RewriteRule ^play/([^/]+)/([^/]+)/?$ index.php?id=8&crw=$1&vrw=$2 [L] RewriteRule ^play/([^/]+)/?$ index.php?id=8&vrw=$1 [L] RewriteRule ^showimage/([^/]+)/?$ image.php?image=$1 [L] #Individual group RewriteCond %{REQUEST_URI} !.php RewriteRule ^showgroup/([^/]+)/_([^/]+)/?$ index.php?id=20&grp=$1&filter=$2 [L] RewriteRule ^showgroup/([^/]+)/([^/]+)/_([^/]+)/?$ index.php?id=20&grp=$1&cmd=$2&filter=$3 [L] RewriteRule ^showgroup/([^/]+)/([^/]+)/_([^/]+)/([0-9]+)/?$ index.php?id=20&grp=$1&cmd=$2&filter=$3&page=$4 [L] RewriteRule ^showgroup/([^/]+)/_([^/]+)/([0-9]+)/?$ index.php?id=20&grp=$1&filter=$2&page=$3 [L] RewriteRule ^showgroup/([^/]+)/?$ index.php?id=20&grp=$1 [L] RewriteRule ^showgroup/([^/]+)/([^/]+)/?$ index.php?id=20&grp=$1&cmd=$2 [L] RewriteRule ^showgroup/([^/]+)/([^/]+)/([0-9]+)/?$ index.php?id=20&grp=$1&cmd=$2&page=$3 [L] RewriteRule ^showgroup/([^/]+)/([0-9]+)/?$ index.php?id=20&grp=$1&page=$2 [L] #This is for all the pages RewriteCond %{REQUEST_URI} !.php RewriteRule ^latest/?$ index.php?id=1 [L] RewriteRule ^members/_([^/]+)/__([^/]+)/?$ index.php?id=88&filter=$1&nsearch=$2 [L] RewriteRule ^members/_([^/]+)/__([^/]+)/([0-9]+)/?$ index.php?id=88&filter=$1&nsearch=$2&page=$3 [L] RewriteRule ^members/_([^/]+)/___([^/]+)/?$ index.php?id=88&filter=$1&lsearch=$2 [L] RewriteRule ^members/_([^/]+)/___([^/]+)/([0-9]+)/?$ index.php?id=88&filter=$1&lsearch=$2&page=$3 [L] RewriteRule ^members/_([^/]+)/__([^/]+)/___([^/]+)/?$ index.php?id=88&filter=$1&nsearch=$2&lsearch=$3 [L] RewriteRule ^members/_([^/]+)/__([^/]+)/___([^/]+)/([0-9]+)/?$ index.php?id=88&filter=$1&nsearch=$2&lsearch=$3&page=$4 [L] RewriteRule ^members/_([^/]+)/?$ index.php?id=88&filter=$1 [L] RewriteRule ^members/_([^/]+)/([0-9]+)/?$ index.php?id=88&filter=$1&page=$2 [L] RewriteRule ^members/?$ index.php?id=88 [L] RewriteRule ^members/([0-9]+)/?$ index.php?id=19&page=$1 [L] RewriteRule ^groups/_([^/]+)/__([^/]+)/?$ index.php?id=19&filter=$1&search=$2 [L] RewriteRule ^groups/_([^/]+)/__([^/]+)/([0-9]+)/?$ index.php?id=19&filter=$1&search=$2&page=$3 [L] RewriteRule ^groups/_([^/]+)/?$ index.php?id=19&filter=$1 [L] RewriteRule ^groups/_([^/]+)/([0-9]+)/?$ index.php?id=19&filter=$1&page=$2 [L] RewriteRule ^groups/?$ index.php?id=19 [L] RewriteRule ^groups/([0-9]+)/?$ index.php?id=19&page=$1 [L] RewriteRule ^search/?$ index.php?id=22 [L] RewriteRule ^search/([0-9]+)/?$ index.php?id=22&page=$1 [L] RewriteRule ^search/([^/]+)/?$ index.php?id=22&keywords=$1 [L] RewriteRule ^search/([^/]+)/([0-9]+)/?$ index.php?id=22&keywords=$1&page=$2 [L] RewriteRule ^account/?$ index.php?id=56 [L] RewriteRule ^latest/([0-9]+)/?$ index.php?id=1&page=$1 [L] RewriteRule ^top_rated/?$ index.php?id=2 [L] RewriteRule ^top_rated/([0-9]+)/?$ index.php?id=2&page=$1 [L] RewriteRule ^most_viewed/_([^/]+)/?$ index.php?id=3&filter=$1 [L] RewriteRule ^most_viewed/?$ index.php?id=3 [L] RewriteRule ^most_viewed/_([^/]+)/([0-9]+)/?$ index.php?id=3&filter=$1&page=$2 [L] RewriteRule ^most_viewed/([0-9]+)/?$ index.php?id=3&page=$1 [L] RewriteRule ^category/([^/]+)/_([^/]+)/__([^/]+)/___([^/]+)/([0-9]+)/?$ index.php?id=21&crw=$1&scrw=$2&sscrw=$3&filter=$4&page=$5 [L] RewriteRule ^category/([^/]+)/_([^/]+)/__([^/]+)/([0-9]+)/?$ index.php?id=21&crw=$1&scrw=$2&sscrw=$3&page=$4 [L] RewriteRule ^category/([^/]+)/_([^/]+)/__([^/]+)/___([^/]+)/?$ index.php?id=21&crw=$1&scrw=$2&sscrw=$3&filter=$4 [L] RewriteRule ^category/([^/]+)/_([^/]+)/__([^/]+)/?$ index.php?id=21&crw=$1&scrw=$2&sscrw=$3 [L] RewriteRule ^category/([^/]+)/_([^/]+)/___([^/]+)/([0-9]+)/?$ index.php?id=21&crw=$1&scrw=$2&filter=$3&page=$4 [L] RewriteRule ^category/([^/]+)/_([^/]+)/([0-9]+)/?$ index.php?id=21&crw=$1&scrw=$2&page=$3 [L] RewriteRule ^category/([^/]+)/_([^/]+)/___([^/]+)/?$ index.php?id=21&crw=$1&scrw=$2&filter=$3 [L] RewriteRule ^category/([^/]+)/_([^/]+)/?$ index.php?id=21&crw=$1&scrw=$2 [L] RewriteRule ^category/([^/]+)/___([^/]+)/([0-9]+)/?$ index.php?id=21&crw=$1&filter=$2&page=$3 [L] RewriteRule ^category/([^/]+)/([0-9]+)/?$ index.php?id=21&crw=$1&page=$2 [L] RewriteRule ^category/([^/]+)/___([^/]+)/?$ index.php?id=21&crw=$1&filter=$2 [L] RewriteRule ^category/([^/]+)/?$ index.php?id=21&crw=$1 [L] ###################### #Tags Re-Write J-Mods# ###################### RewriteRule ^tags/?$ index.php?id=24 [L] RewriteRule ^add/?$ index.php?id=25 [L] Options +FollowSymlinks RewriteCond %{QUERY_STRING} url=(.*) RewriteRule ^out(.*) index.php?id=26&url=%1 [L] RewriteRule ^allfriends/?$ index.php?id=27 [L] Options +FollowSymlinks RewriteCond %{QUERY_STRING} vid=(.*) RewriteRule ^changead(.*) index.php?id=28&vid=%1 [L] Options +FollowSymlinks RewriteCond %{QUERY_STRING} feed=(.*) RewriteRule ^rss(.*) rss.php?feed=%1 [L] RewriteRule ^rss/?$ index.php?id=29 [L] Options +FollowSymlinks RewriteCond %{QUERY_STRING} del=(.*) RewriteRule ^news/?$ index.php?id=30&del=%1 [L] RewriteRule ^news/?$ index.php?id=30 [L] Options +FollowSymlinks RewriteCond %{QUERY_STRING} edit=(.*) RewriteRule ^edit/?$ index.php?id=31&edit=%1 [L] #################### # Do Not Edit # #################### RewriteRule ^forgot/?$ index.php?id=4 [L] RewriteRule ^upload/?$ index.phpid=5[L] RewriteRule ^register/?$ index.php?id=6 [L] RewriteRule ^logout/?$ index.php?logout=1 [L] RewriteRule ^help/?$ index.php?id=15 [L] RewriteRule ^tellafriend/(.+)/?$ index.php?id=11&mediaurl=$1 [L] RewriteRule ^terms/?$ index.php?id=16 [L] RewriteRule ^contact/?$ index.php?id=17 [L] RewriteRule ^history/?$ index.php?id=50 [L] RewriteRule ^history/([0-9]+)/?$ index.php?id=50&page=$1 [L] RewriteRule ^favorites/?$ index.php?id=51&page=1 [L] RewriteRule ^favorites/([0-9]+)/?$ index.php?id=51&page=$1 [L] RewriteRule ^usermenu/?$ index.php?id=55 [L] RewriteRule ^usermenu/([a-z]+)/?$ index.php?id=55&action=$1 [L] RewriteRule ^usermenu/([a-z]+)/([0-9]+)/?$ index.php?id=55&action=$1&page=$2 [L] RewriteRule ^usermenu/([a-z]+)/([0-9]+)/([0-9]+)/?$ index.php?id=55&action=$1&page=$2&page2=$3 [L] #New Profile RewriteRule ^profile/([A-z0-9_-]+)/([a-z]+)/_([^/]+)/([0-9]+)/?$ index.php?id=18&user=$1&act=$2&opt=$3&page=$4 [L] RewriteRule ^profile/([A-z0-9_-]+)/([a-z]+)/_([^/]+)/?$ index.php?id=18&user=$1&act=$2&opt=$3 [L] RewriteRule ^profile/([A-z0-9_-]+)/([a-z]+)/([0-9]+)/?$ index.php?id=18&user=$1&act=$2&page=$3 [L] RewriteRule ^profile/([A-z0-9_-]+)/([a-z]+)/?$ index.php?id=18&user=$1&act=$2 [L] RewriteRule ^profile/([A-z0-9_-]+)/([0-9]+)/?$ index.php?id=18&user=$1&page=$2 [L] RewriteRule ^profile/([A-z0-9_-]+)/?$ index.php?id=18&user=$1 [L] <Files *.module> deny from all </Files> Options All -Indexes <files *.inc> order allow,deny deny from all </files> Code: [Mon Jun 22 15:23:45 2009] [error] [client 145.12.10.1] File does not exist: /var/www/haaglandenvoetbalt.tv/web/profile, referer: http://www.haaglandenvoetbalt.tv/ And the website: www.haaglandenvoetbalt.tv How can i check if mod_rewrite works? Thnnx in Advance.. John
*update* The website is working: http://haaglandenvoetbalt.tv/ But, still no mod_rewrite.. You can see it if you click on a link. I don't understand the problem... Error logs said the he can't find the page, but that is logic if the mod_rewrite doens't work. If i'm checking phpinfo; you see that there is a mod_rewrite module.. www.hethaagsamateurvoetbal.com/phpinfo.php :-(
The problem is not related to the rewrite rules, but to the Options directives like Options All -Indexes. Comments only those lines out in your .htaccess. You can try to reenable them by entering the correct values in the ISPconfig admin: Website -> Options -> Apache Directives
Try to localize the problem. You have two error messages: /var/www/haaglandenvoetbalt.tv/web/.htaccess: Options not allowed here This is related to one or more Options directives in your .htaccess file. Remove it there. File does not exist: /var/www/haaglandenvoetbalt.tv/web/profile This is because you removed or disabled the rewrite rules. No, for .htaccess files you do not have to restart apache.