htaccess + php = HTTP 500 Internal Error

Thibault Dupuis thibault at dthibault.fr
Sat Mar 5 22:01:57 UTC 2011



Le 5 mars 2011 à 22:49, Spajderix <spajderix at gmail.com> a écrit :

> Hi,
> 
> you probably should ask php specific question on forums or IRC's about php language. Check out error.log, default in /var/log/apache2/error.log, it should give you enough info.
> 
> Dnia 2011-03-05, sob o godzinie 15:55 -0500, Derek Maciel pisze:
>> 
>> I wrote a simple htaccess and php script for my CMS, and it works
>> great in XAMPP on Windows. However, I moved it to an Ubuntu Minimal
>> 10.10 with apache, php, mysql, etc. installed.
>> 
>> I enabled the rewrite plugin and allowed htaccess override. However,
>> when I point my browser to that folder, I get a 500 Internal Error.
>> 
>> Even deleting that .htaccess file gives me a 500 error. The only thing
>> I can do to get it to change is to put an echo before I initialize my
>> class, but it doesn't initialize the class after the echo like it
>> should. Deleting the echo just gives an HTTP 500.
>> 
>> http://pastebin.com/WvjEVGXE <-- My index.php file
>> 
>> 
>> Is there something I forgot to enable when I installed PHP or Apache?
>> This hasn't happened to me before.
>> 
> 
> 
It's a bug with Apache and not with your index.php
Post your httpd.conf .


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20110305/3029f2bc/attachment.html>


More information about the ubuntu-users mailing list