1
vote
1answer
151 views

Accessing a directory with htaccess gives a 500 error

I have installed the Xamp server in my Windows machine. I have placed the follwing .htaccess file in a directory : # Original # If you modify this file then change the above line to: # Modified ...
0
votes
1answer
148 views

Keep getting a 500 Internal Server Error

This is my .htaccess: DirectoryIndex index.php DefaultType application/x-httpd-php AddDefaultCharset utf-8 Header set X-Frame-Options DENY RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d ...
0
votes
1answer
109 views

Why am I getting a 500 error with these RewriteRules

I am setting up a site on a shared hosting plan so I am stuck using Apache and a .htaccess file. I have 2 RewriteRules defined. Both rules work perfectly on a local machine running Apache. The first ...
0
votes
2answers
2k views

RewriteCond not working on Apache (but enabled)

I get these errors in my apache error log file: [Fri May 20 16:17:06 2011] [notice] Apache/2.2.17 (Ubuntu) PHP/5.3.5-1ubuntu7.2 with Suhosin-Patch configured -- resuming normal operations [Fri May 20 ...
2
votes
1answer
1k views

LAMP: Custom 500 error page - is it actually possible?

As the Question title suggests, I want to setup a custom 500 error. In fact, I want to use a .php file for the error, and ideally send a 503 response (SE Reasons). The problem is that the only way I ...
3
votes
1answer
4k views

Handler for (null) returned invalid result code 70007 / causing error 500?

I am getting these errors on some pages in my site (php/apache/linux/mysql vps) on intervals and can't seem to find any reproducible scenario : Handler for (null) returned invalid result code ...
0
votes
3answers
382 views

Accessing Site with a WWW prefix results in a 500 internal server error!

I have migrated to a new server and when ever I try to use my site with the www prefix I get a 500 internal server error. This use to work on my previous host just fine. Here is a snippet of the ...
0
votes
0answers
476 views

500 internal server error when .htaccess file is in the parent folder of a subdomain

In httpd I have a main domain and sub domain like so; <VirtualHost main:8080> ServerName main DocumentRoot "/Users/admin/Sites/main" <Directory /Users/admin/Sites/main> #AllowOverride ...
0
votes
2answers
258 views

Having trouble searching for a ‘.’ using htaccess

I'm setting up a website that (ideally) would allow users to access other users' homepages with a url in the format "www.mysite.com/ThisLanham" where 'ThisLanham' is the username. The username begins ...
0
votes
1answer
261 views

Randomly getting a 500 error on my website

I am randomly getting a 500 error on my websites, all of which are hosted on a shared server. It won't happen all the time, just randomly when I will refresh the page I will get a 500 error. It ...
1
vote
3answers
1k views

Almost empty .htaccess file causing 500 error response

I created a test directory called "rewrite" and put a .htaccess file inside with a rewrite rule. When I go to that URL through my browser I get a 500 Internal Server Error. So I thought it was my ...