Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 21st June 2009, 16:40
jvdkdesign jvdkdesign is offline
Junior Member
 
Join Date: Jun 2009
Posts: 23
Thanks: 4
Thanked 1 Time in 1 Post
Default Get the rid of it :( htaccess

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.
Reply With Quote
Sponsored Links
  #2  
Old 21st June 2009, 16:42
jvdkdesign jvdkdesign is offline
Junior Member
 
Join Date: Jun 2009
Posts: 23
Thanks: 4
Thanked 1 Time in 1 Post
Default

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?
Reply With Quote
  #3  
Old 21st June 2009, 17:41
jvdkdesign jvdkdesign is offline
Junior Member
 
Join Date: Jun 2009
Posts: 23
Thanks: 4
Thanked 1 Time in 1 Post
Default

Add. info

I have a:
ISPCONFIG 3.0.13 (latest update)
OS: UBUNTU 64 bits
Reply With Quote
  #4  
Old 22nd June 2009, 10:19
jvdkdesign jvdkdesign is offline
Junior Member
 
Join Date: Jun 2009
Posts: 23
Thanks: 4
Thanked 1 Time in 1 Post
Default

Does no body? know something
Reply With Quote
  #5  
Old 22nd June 2009, 11:44
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,964
Thanks: 825
Thanked 5,366 Times in 4,213 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 22nd June 2009, 12:15
jvdkdesign jvdkdesign is offline
Junior Member
 
Join Date: Jun 2009
Posts: 23
Thanks: 4
Thanked 1 Time in 1 Post
Default

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?
Reply With Quote
  #7  
Old 22nd June 2009, 12:24
wouterw wouterw is offline
HowtoForge Supporter
 
Join Date: Jun 2009
Posts: 20
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by jvdkdesign View Post
Hmm
...

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
Reply With Quote
  #8  
Old 22nd June 2009, 12:30
jvdkdesign jvdkdesign is offline
Junior Member
 
Join Date: Jun 2009
Posts: 23
Thanks: 4
Thanked 1 Time in 1 Post
Default

Code:
[alert] [client 94.209.157.94] /var/www/haaglandenvoetbalt.tv/web/.htaccess: Options not allowed here, referer: http://www.haaglandenvoetbalt.tv/
Same error...

Reply With Quote
  #9  
Old 22nd June 2009, 12:42
wouterw wouterw is offline
HowtoForge Supporter
 
Join Date: Jun 2009
Posts: 20
Thanks: 0
Thanked 1 Time in 1 Post
Default

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
Reply With Quote
  #10  
Old 22nd June 2009, 13:00
jvdkdesign jvdkdesign is offline
Junior Member
 
Join Date: Jun 2009
Posts: 23
Thanks: 4
Thanked 1 Time in 1 Post
 
Default

Okay..
Now i'm feeling myself really a n00b;
I really don't know which function i need to include.

Wouter.. Are you dutch?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Yet Another Internal Server Error/.htaccess Post n0h4t Installation/Configuration 5 16th June 2009 17:43
ftp is very slow and asks for user/passwd continuously chico58 Installation/Configuration 7 8th October 2008 12:43
how to enable Mod Rewrite AngelDrago Installation/Configuration 9 10th August 2007 23:20
viewing a htaccess file in the ftp Boon-Dog-Danny Installation/Configuration 19 17th August 2006 17:33
ispconfig and mambo shajazzi Installation/Configuration 70 28th March 2006 19:29


All times are GMT +2. The time now is 02:59.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.