Hey;
this seemed to happen out of nowhere.
I have two subdirectories on a dedicated 1and1 server serving as test sites. They are both throwing the error 500-internal server error now.
I haven't messed with their .htaccess files.. and they have everything required (add php5, etc)

When I turn off the php module in 1and1 advanced server configuration, they work fine (but the redirects I use on the main website stop working). When I turn it back on, it doesn't work - pages will load like 1 in 15 reloads.

I've tried increasing memory limits, nothing.

Any idea?

Both drupal installations seem to be behaving the same, so it seems to be stemming from one problem.
1and1 people sent me an error log of apache, but I couldn't figure out anything from it.
Anyone feeling helpful??

Comments

MYCON-1’s picture

when i delete the .htaccess file in my ROOT directory (both drupal installtions in subdirectories of root), it makes one of them work fine. but the other one still throws error.

Seems like my htaccess files are all screwed up. I have no idea what could be wrong with them.

MYCON-1’s picture

ok so when i delete the ROOT directory htaccess file (for the main site which is just php/mysql), ONE of the drupal installations (in its own subdirectory) works fine. I also tried deleting everything in that htaccess file. as long as the file is there, it doesnt work?????

MYCON-1’s picture

hooray for clogging up forums.
there seems to be some error in this htaccess file.
is having two different re-writes to the same URL an error??

RewriteEngine On # Turn on the rewriting engine

RewriteRule ^news/?$ news.php [NC,L] # Handle requests for news

RewriteRule ^portfolio/?$ portfolio.php [NC,L] # Handle requests for portfolio

RewriteRule ^expertise/?$ expertise.php [NC,L] # Handle requests for expertise

RewriteRule ^sustainability/?$ sustainability.php [NC,L] # Handle requests for sustainability

RewriteRule ^aboutus/?$ about_us.php [NC,L] # Handle requests for about us

RewriteRule ^highereducation/?$ portfolio.php?subj=1&page=1 [NC,L] # Handle requests for higher ed

RewriteRule ^energy/?$ portfolio.php?subj=1&page=2 [NC,L] # Handle requests for energy

RewriteRule ^government/?$ portfolio.php?subj=1&page=3 [NC,L] # Handle requests for government

RewriteRule ^scienceandtechnology/?$ portfolio.php?subj=1&page=4 [NC,L] # Handle requests for science and technology

RewriteRule ^academicplanning/?$ expertise.php?subj=2&page=1 [NC,L] # Handle requests for science and technology

RewriteRule ^embassies/?$ expertise.php?subj=2&page=2 [NC,L] # Handle requests for science and technology

RewriteRule ^energy/?$ expertise.php?subj=2&page=3 [NC,L] # Handle requests for science and technology

RewriteRule ^historicpreservation/?$ expertise.php?subj=2&page=4 [NC,L] # Handle requests for science and technology

RewriteRule ^integratedprojectdelivery/?$ expertise.php?subj=2&page=10 [NC,L] # Handle requests for science and technology

RewriteRule ^masterplanning/?$ expertise.php?subj=2&page=5 [NC,L] # Handle requests for science and technology

RewriteRule ^studentlife/?$ expertise.php?subj=2&page=8 [NC,L] # Handle requests for science and technology

RewriteRule ^energy/?$ sustainability.php?subj=3&page=3 [NC,L] # Handle requests for science and technology

RewriteRule ^undergraduatescience/?$ expertise.php?subj=2&page=9 [NC,L] # Handle requests for science and technology

RewriteRule ^energyservices/?$ sustainability.php?subj=3&page=5 [NC,L] # Handle requests for science and technology

RewriteRule ^sustainability_attitude/?$ sustainability.php?subj=3&page=1 [NC,L] # Handle requests for science and technology

RewriteRule ^leedprojects?$ sustainability.php?subj=3&page=3 [NC,L] # Handle requests for science and technology

RewriteRule ^acuho-i/?$ misc.php?misc=1 [NC,L] # Handle requests for science and technology

RewriteRule ^acuho-ifollowup/?$ misc.php?misc=2 [NC,L] # Handle requests for science and technology

RewriteRule ^firmprofile/?$ about_us.php?subj=4&page=1 [NC,L] # Handle requests for science and technology

RewriteRule ^awards/?$ about_us.php?subj=4&page=2 [NC,L] # Handle requests for science and technology

RewriteRule ^clients/?$ about_us.php?subj=4&page=3&clients=1 [NC,L] # Handle requests for science and technology

RewriteRule ^careers/?$ about_us.php?subj=4&page=4 [NC,L] # Handle requests for science and technology

RewriteRule ^contact/?$ about_us.php?subj=4&page=5 [NC,L] # Handle requests for science and technology

RewriteRule ^sitemap/?$ about_us.php?subj=4&page=6 [NC,L] # Handle requests for science and technology

RewriteRule ^introducings&t misc.php?misc=3&introducing=1 [NC,L]

RewriteRule ^introducing misc.php?misc=3&introducing=1 [NC,L]

RewriteRule ^williamvanhorn misc.php?misc=3&introducing=1 [NC,L]

RewriteRule ^leslieglynn misc.php?misc=3&introducing=2 [NC,L]

RewriteRule ^bobdegenova misc.php?misc=3&introducing=3 [NC,L]

RewriteRule ^robertdegenova misc.php?misc=3&introducing=3 [NC,L]

RewriteRule ^webinars misc.php?misc=4 [NC,L]

MYCON-1’s picture

well, i dont know what the problem is with this line, but that was what did it. awesome.

RewriteRule ^webinars misc.php?misc=4 [NC,L]

cbrunet’s picture

I had this problem before and I ended up just reuploading a brand new copy of htacess an it solved my problem. I then just had to make all my changes again and documented it this time. It was scary cause it was a live site... it was a long night...

MYCON-1’s picture

weird shit..

^webinar , ^webinars both shuts down drupal; ^thissureisweird works fine..