#1  
Old 13th March 2006, 12:22
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,238
Thanks: 70
Thanked 21 Times in 17 Posts
Default .htaccess question

this is ispcg related:

I am trying to use some script that need this .htaccess file:

Quote:
DirectoryIndex index.php
Options -Indexes

<IfModule mod_php4.c>
php_value upload_max_filesize 15M
php_value post_max_size 15M
php_value short_open_tag 1
</IfModule>

RewriteEngine On
RewriteRule ^view/(.+)$ view.php [L,NC]
but I only get a 500 server error... if I delete the .htaccess file everythings fine.

I have disabled phpsafe mode for this website as it is requiered by the script, can anyone help with this .htaccess file?
Reply With Quote
Sponsored Links
  #2  
Old 13th March 2006, 18:04
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Quote:
Originally Posted by Tenaka
this is ispcg related:
Therefore I moved this thread to the ISPConfig forum...

Quote:
Originally Posted by Tenaka
but I only get a 500 server error...
Is there anything in the Apache error log?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 13th March 2006, 20:41
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,238
Thanks: 70
Thanked 21 Times in 17 Posts
Default

Quote:
[Mon Mar 13 20:36:53 2006] [alert] [client 84.247.49.143] /var/www/web5/web/uploader/.htaccess: Options not allowed here
thats the error log excerpt when calling the script.
so how would I activate these options?

do I have to enter these extra apache directives in ispcfg panel or how can I get it running?
Reply With Quote
  #4  
Old 13th March 2006, 23:30
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
 
Default

Have a look here: http://www.howtoforge.com/forums/showthread.php?t=2750
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
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
.htaccess and php_flag register_globals on edge Installation/Configuration 6 9th March 2006 20:05
A question about DNS web-worlds Installation/Configuration 19 3rd February 2006 18:08
web-ftp .htaccess tool. shadowspank General 1 4th January 2006 09:56
.htaccess mtamaos Server Operation 1 28th November 2005 11:04
.htaccess PHP - Hobe it make sence. Joe-Montana Server Operation 3 5th November 2005 01:36


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


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