Empty Htaccess Internal Server Error
Contents |
Search Username Password Remember Me? Register Lost Password? facebook google twitter rss Free Web Developer Tools Advanced Search Forum Programming Languages PHP Development .htaccess issue: empty htaccess error 500 500 internal error although file is empty Thread: .htaccess issue: 500 internal
Internal Server Error Htaccess Htpasswd
error although file is empty Share This Thread Tweet This + 1 this Post To Linkedin internal server error drupal 7 Subscribe to this Thread Subscribe to This Thread May 21st, 2007,06:36 AM #1 pixeline View Profile View Forum Posts Visit Homepage King of RGB Devshed Newbie (0 -
Drupal 500 Internal Server Error Htaccess
499 posts) Join Date Jan 2004 Location brussels Posts 398 Rep Power 13 .htaccess issue: 500 internal error although file is empty hello! i would like to setup mod_rewrite for whatever happens inside a given folder. So i've put an .htaccess file in it, but whatever i write in it, even if it is completely empty: it throws an "500 internal server" error. Any idea where the mistake might be? Thanks a lot, Alex http://www.pixeline.be ........................................ Faq Reply With Quote May 21st, 2007,06:50 AM #2 SimonGreenhill View Profile View Forum Posts Visit Homepage (retired) Devshed Supreme Being (6500+ posts) Join Date Dec 2003 Location The Laboratory Posts 10,054 Rep Power 1388 yes. in your htaccess file. Which really has nothing to do with PHP. Anyway - what does the apache error log say? --Simon Retired Moderator. » Addslashes? Magic Quotes? mysql_real_escape_string? bound parameters? sql injection??! HELP! Faq Reply With Quote May 21st, 2007,07:04 AM #3 pixeline View Profile View Forum Posts Visit Homepage King of RGB Devshed Newbie (0 - 499 posts) Join Date Jan 2004 Location brussels Posts 398 Rep Power 13 Apparently, i just found the error: the file encoding was not set on ascii. http://www.pixeline.be ........................................ Faq Reply With Quote May 21st, 2007,07:59 AM #4 Desbrina View Profile View Forum Posts Visit
all over the world. Join today Community Community Home Getting Involved Chat Forum SupportInstalling Drupal .htaccess and internal server error Posted by stoltoguzzi on March 3, 2006 at 7:03am I get an internal server error installing drupal, after checking the forum I deleted the folowing lines. No it works but I am not shure what function will maybe not work lather on? # Set some options. Options -Indexes Options +FollowSymLinks # Set the default handler. DirectoryIndex index.php Daniel Log in or register to post comments â‹… Categories: Drupal 4.6.x Comments What host? nathanwastaken commented March 3, 2006 at 7:25am Can I ask what host you are http://forums.devshed.com/php-development-5/htaccess-issue-500-internal-error-file-empty-446375.html using? Log in or register to post comments Hosting stoltoguzzi commented March 3, 2006 at 7:32am it is nexlink http://www.nexlink.ch/de/hebergement-mutualise/online-starter-plus.php Log in or register to post comments .htaccess stoltoguzzi commented March 3, 2006 at 9:00pm no idea about that? Log in or register to post comments .htaccess and internal server error amorgen commented April 28, 2006 at 5:28pm I have the same problem with my debian etch. Commenting the lines above didn't https://www.drupal.org/node/52196 solve the problem. What could you advice me ? Log in or register to post comments .htaccess stoltoguzzi commented April 28, 2006 at 8:57pm to check if it is the .htaccess, just rename or delete it, then you should be able to login. I know this is not the solution but then you see if you realy have to dig in this direction. Log in or register to post comments .htaccess file that works for me munkle commented June 12, 2006 at 6:46pm I spent a while fiddling with .htaccess until I managed to get it working. Here's the one that worked for me in the end: # # Apache/PHP/Drupal settings: # # Protect files and directories from prying eyes.
time I put an empty .htaccess file with perm. 777 in the gallery directory, I get a internal 500 error. Removing the file gives access to the setup of Gallery but it requires this .htaccess file... This means http://galleryproject.org/node/11583 I'm not able to finish the installation. Gallery is running at xxlwebhosting (www.xxlwebhosting.nl) in the Netherlands. For more info: http://www.delfshaven.org/gallery/setup/phpinfo.php Can anyone get me out of this loop? Thankx in advance, Twan P.s. I didn't find a forum answer with this exact problem... ---- Give us your Gallery/webserver information to get a faster answer. Get this information from the PHP diagnostic (in the configuration wizard). Gallery URL (optional but very internal server useful): Gallery version: Apache version: PHP version (don't just say PHP 4, please): Graphics Toolkit: Operating system: Web browser/version (if applicable): XUser login Login/Register h0bbel Joined:2002-07-28 Posts:13451 Posted: Thu, 2003-11-27 18:29 Twan, so, the reason for putting it back (since it crashes your site) is? Twan Joined:2003-11-27 Posts:3 Posted: Thu, 2003-11-27 18:41 The reason I put it back is because the setup script requires an empty .htaccess internal server error file with 777 rights to finish the setup... I also checked the error log of the webserver: [Thu Nov 27 18:26:37 2003] [alert] [client 80.126.0.204] /home/delfshav/public_html/gallery/.htaccess: Invalid command '{\rtf1\mac\ansicpg10000\cocoartf102', perhaps mis-spelled or defined by a module not included in the server configuration Beats me... Thankx for the fast response! Greetz, Twan joan Joined:2002-10-21 Posts:3473 Posted: Thu, 2003-11-27 18:55 empty .htaccess in the gallery directory, not the setup directory. Twan Joined:2003-11-27 Posts:3 Posted: Thu, 2003-11-27 20:08 I did put it in the gallery dir instead of the setup dir... In some way apache refuses any connection as soon as there is a .htaccess file... And I don't have shell access, don't have permission to change httpd.conf etc. (snif) Greetz, Twan stevenherr Joined:2003-12-02 Posts:6 Posted: Tue, 2003-12-02 14:51 I have the exact same problem running on RedHat 8.0. Did you every get this resolved? alindeman Joined:2002-10-06 Posts:8194 Posted: Tue, 2003-12-02 16:12 Have you deleted the .htaccess file in the setup/ directory? stevenherr Joined:2003-12-02 Posts:6 Posted: Tue, 2003-12-02 16:31 No, I hadn't deleted the file, but I seem to have a solution. I edited the .htaccess file and commented out the line: php_flag session.bug_compat_warn off The Apache log indicated that the 'php_flag' was an unkno