htaccess + php = HTTP 500 Internal Error

Spajderix spajderix at gmail.com
Sat Mar 5 21:49:24 UTC 2011


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.
> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20110305/cff2cb6b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: To jest część wiadomości podpisana cyfrowo
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20110305/cff2cb6b/attachment.sig>


More information about the ubuntu-users mailing list