Apache Internal server error
I made a fresh installation of drupal 4.6.3, I uploaded the mysql table correctly, but I get an "Internal server error" when I try to access my site.
The exact message is:
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, postmaster@enocommerce.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
I read in the support forum that it may be due to .htaccess, so I tried to comment out the suggested commands; I also deleted it altogether, but the error message remained the same (it is currently deleted).
My site is enocommerce.com.
I checked my database from PHP and it works fine.
Here is my phpinfo page.
Here is my setting.php (I did not touch anything beside $db_url and $base_url):
$db_url = 'mysql://db_user:db_password@db_url/db_name;
$db_prefix = '';
/**
* Base URL:
*
* The URL of your website's main page. It is not allowed to have
* a trailing slash; Drupal will add it for you.$base_url = 'http://www.enocommerce.com/www';
*/
$base_url = 'http://www.enocommerce.com/drupal-4.6.3';
/**
* PHP settings:
*
* To see what PHP settings are possible, including whether they can
* be set at runtime (ie., when ini_set() occurs), read the PHP
* documentation at http://www.php.net/manual/en/ini.php#ini.list
* and take a look at the .htaccess file to see which non-runtime
* settings are used there. Settings defined here should not be
* duplicated there so as to avoid conflict issues.
*/
ini_set('arg_separator.output', '&');
ini_set('magic_quotes_runtime', 0);
ini_set('magic_quotes_sybase', 0);
ini_set('session.cache_expire', 200000);
ini_set('session.cache_limiter', 'none');
ini_set('session.cookie_lifetime', 2000000);
ini_set('session.gc_maxlifetime', 200000);
ini_set('session.save_handler', 'user');
ini_set('session.use_only_cookies', 1);
ini_set('session.use_trans_sid', 0);I do not have access to the Apache logs.

Internal server error
Hi!
I have the same problem where I have installed Drupal.
Have you solved it?
Doesn't seem to be any solutions posted in the forum.
BR
Ulf
I'm glad I am not the only one!
Firstly - hello all, this is my first post here!
I have had the same issue as Logico & Ulwen. Has anyone found out the solution for this one or have any suggestions?
Thanks
Paul
Check your .htaccess file
Check if your .htaccess file is correctly installed. Rename it and see if your site works.
-------
http://para.ro/en
I think we are getting there!!
Thanks vrencianz.
I have removed the .htaccess file and it now works. Therefore it appears you were right and it was not correctly installed.
What do I need to do to install it properly?
Thanks
You must correct it
You must correct it.
Or, send me or paste your .htaccess code here. I'll take a look into it.
-------
http://para.ro/en
How?
What do I need to check to correct it?
I have used the standard .htaccess file that is in the download and have not made any changes.
I did try commenting out lines as described in another posting regarding a similiar issue. However, that did not work so I have just put the original file back.
Thanks
Try this one and see if works
<Files ~ "(\.(inc|module|pl|sh|sql|theme|engine|xtmpl)|Entries|Repositories|Root|scripts|updates|cron.php)$">
Order deny,allow
Deny from all
</Files>
# Set some options.
Options -Indexes
Options +FollowSymLinks
# Customized error messages.
ErrorDocument 404 /index.php
# Set the default handler.
DirectoryIndex index.php
php_value magic_quotes_gpc 0
php_value register_globals 0
php_value session.auto_start 0
php_value session.save_handler "user"
php_value session.use_cookies 1
php_value session.cache_limiter "none"
# Reduce the time dynamically generated pages are cache-able.
<IfModule mod_expires.c>
ExpiresByType text/html A1
</IfModule>
<IfModule mod_rewrite.c>
# Rewrite current-style URLs of the form 'index.php?q=x'.
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
</IfModule>
-------
http://para.ro/en
You sent me a mail ...
I removed this post
I've tried your .htaccess but ...
Dear vrenciaz,
I have the same problem. When I remove .htaccess file, my site works but search tool doesn't work. So I think that the problem is in .htaccess file.
And I've tried your .htaccess but my site doesn't work.
I use a free host at www.free.fr
Pls help me,
I had a similar problem but
I had a similar problem but found that things started working when I removed the .htaccess file. Played around with it for a bit and found that the following lines were causing the problem:
# Set some options.
Options -Indexes
Options +FollowSymLinks
# Set the default handler.
DirectoryIndex index.php
I just restored the original .htaccess, deleted those lines.
and now
had the same problem, your fix worked for me.
But what this means for the drupal installation, will some function not work now?
Solution by janner1 works on awardspace.com
Hi,
I am trying 4.7.0 on free hosting of awardspace.com.
Your solution worked!
Now I am getting the "out of memory" issue. lukin into dat...
.htaccess
If may well be worth checking your server error logs if you have access to them. Some hosts don't allow PHP dirivatives in .htaccess for example - that would thow 500 error if you put ant php_value type stuff in there.
Regards
Jamie
227net
I have the same problem
I have the same problem described in this thread. I've tried renaming the .htaccess, removing it, re-uploading the original all to no avail.
Does anyone know what needs to be done?
All is fine now... got it
All is fine now... got it working. Had the wrong settings in the settings.php file.
.hataccess Problem...Now What?
My site throws me an Internal Server Error if the .htaccess file is there and if I remove the file I get 404 Errors. The 404 error message leads me to belive that Drupal is going after files with clean urls and without .htaccess there to assist in the rewriting the site is useless.
I've uploaded the .htaccess straight out of 4.6.5 and it doesn't solve the problem. However, I am currently running 4.6.3. I can't imagine there is any change between the two files but if you feel that may cause it and you happen to have the 4.6.3 .htaccess let me know.
I'm out of ideas on this one...I've contacted my host and asked for access to logs and for them to look over my .htaccess for problems so I'm waiting to hear back from them.
If you've got any ideas please let me know.
Also, I want to try turning off clean urls but I don't know the url of the page to go to. Can you let me know what that is? Or is there some way of turning it off from outside the site if I can't login?
Thanks!
Apache conf
hi, i had also the problem. i fixed it with:
<VirtualHost ip:port>...
<Directory "put here you path from the root directory">
AllowOverride All
</Directory>
</VirtualHost>
the .htaccess will override the predefined apache config. some server admins do not allow that.
-jens
did not work
hello there, i had the same problem too. i removed the .htaccess file, it worked.. however it sucks that i can't use clean urls.. tried ur code but it still doesn't work. i am a total newbie with this stuff and maybe i did it wrongly. the part where "put here your path from the root directory" i put there /wwwroot. can u specify which of your codes that i need to replace and some examples maybe?
or is it because i'm using windows hosting?
-lissa-
I asked my host to enable
I asked my host to enable .htaccess use for rewritings url's. it appears he only allows me to do what I asked for with .htaccess. I removed everything except the IfModule mod_rewrite.c part, and it works fine now.
if syntax correct
even if syntax of yours .htaccess correct that such mistake arises if you wish to redefine ini-variables which change forbidden by global adjustment apache - simply comment lines and find which causes this mistake
it workd for me
hi all,
i was getting internal server error.....i removed .httaccess file and it started working..
DRUPAL rocks
uttam hoode
(india)
.htaccess removes itself
Hi,
I've just done a fresh install of drupal 4.6.5 for the first time.
I've followed all instructions to install - the only one I couldn't was the grant all privileges mysql command - my server wouldn't allow it.
I'm also getting a 500 Internal Server Error. And have weird things happening with the .htaccess file. Whenever I upload it (filezilla), it appears on the server for a second and then it disappears again. Is this maybe my server having some special script to remove .htaccess files?
I don't have access to my error logs or anything, and I'd prefer not to bug my host as I'm just testing drupal out in a subdirectory and they're giving me free hosting for something else in the main.
Any ideas?
Thanks
wasn't showing hidden files - still not working though
I'm an idiot, set filezilla to show hidden files on the remote server, and it was there.
Have tried removing it, renaming it, commenting out all the lines, uncommenting the line referring to the subdirectory. Nothing seems to work thats been suggested, always get the same 500 Internal Server Error.
please help...
Internal Server Error 500
Same problem - so I deleted all drupal files - I will never ever try to use it again - let be warned...
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/2.0.53 (Fedora)
www.linkmatrix.de - 1.500 Free Tutorials!
empty .htaccess file solved my problem
I solved my Internal Server 500 Error
Solution:
1. write an empty file and name it .htaccess
2. upload this empty .htaccess file to your server
3. forget drupal
www.linkmatrix.de - 1.500 Free Tutorials!
Don't blame
Don't blame Drupal for your inability to configure Apache.
It can be difficult to do, but people here are willing to help. That is, if you are willing to work as well.
--
Tips for posting to the forums.
When your problem is solved, please post a follow-up to the thread you started.
internal server error 500 miss configure
hey i am also getting the same problem !
Plz guid me to solve it!
Actually I need to upload a image with some content ! so I had used the cck & other modules !
It's working under windows
but in linux the files uploaded but preview not available ! PLZ guid me
This has nothing to do with
This has nothing to do with Drupal and all to do with Apache being mis-configured. Apache is not Drupal, so please stop with the FUD.
And you can just delete the .htaccess file..
-K
Sorry...
I'm sorry to hear that this issue has driven some people away from Drupal. This issue took me about 3 days to resolve on one of my sites, but that three days was well worth having such a solid CMS to run my site and not having to start over from scratch.
For those that haven't given up, hang in there. Its well worth it.
Idiot moron.
What an idiot, do you think if you use other CMS, things will go smoothly with your settings.
1. Drupal has nothing to do with it.
2. It's all your webhosting company's fault.
3. Drupal Rocks!!!
4. Your an idiot.
Et resurrexit
Please do not resurrect older threads with random commentary.
Furthermore
Enjoy Drupal & your time on the forum
--
Tips for posting to the forums.
When your problem is solved, please post a follow-up to the thread you started.
Same problem...
I had same problem and I want to share my solution.
I had local installation of Drupal and needed to upload it on server. It didnt work on server.
Problem was in .htaccess...
# Modify the RewriteBase if you are using Drupal in a subdirectory and
# the rewrite rules are not working properly.
RewriteBase /
On my local installation, drupal wasnt in root directory, so I had to add here path to it. When I uploaded it to server, it was in root so this line had to be removed :P
Just wanted to contribute... :P
Another Solution
This has taken me 45 mins to solve, tried all the other tips in this thread.
I established that the problem was in the .htaccess file around the line
# Various rewrite rules.
RewriteEngine on
Thanks to one of the latest posts, I added
RewriteBase /
below - and that has fixed the problem. Code now looks like this.
# Various rewrite rules.<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
Thanks.
Thanks,
With my Drupal 6 install running from a subdirectory I had to uncomment the "RewriteBase /" line in the .htaccess file and now all is well. :)
The "RewriteBase /" solution
The "RewriteBase /" solution by Rasman saved me a serious headache. Thank you so much!
Thanks!!!
thanks so much, man ... I though I was about to call my hosting company and cancel my subscription because it was acting up again ... you're a lifesaver :)
Genius! Thank you.
Genius! Thank you.
Still not working
I have tried the solutions above and it still doesn't work.
I have just untarred drupal 6.3 and restored the original .htaccess and it doesn't even go to the installation page, it just shows 500 internal server error.
Any help is appreciated.
None of this works
Just now trying to install Drupal 6.6 on Parallels Pro / RHEL . . . Fresh install, full privilages on a machine that's installed Mambo and Wordpress without a hitch.
Nothing but 500 ISE all the way.
I've tried changing permissions, removing .htaccess, editing the .htaccess and playing with various php.ini issues.
Any help would be greatly appreciated. . .
drupal 6.6: Modify .htaccess will work fine
Open the .htccess file, remark or comment 2 lines, so the script to be like this;
# Don't show directory listings for URLs which map to a directory.
#Options -Indexes (1. remark/comment in here)
# Follow symbolic links in this directory.
#Options +FollowSymLinks (2. remark/comment in here)
So the problem solve :)
Thank you very much!
Sorry for the bump but I was having the same problem right after I have uploaded my site from localhost to the live production server and your solution made the error vanishes, thanks!
Internal Server Errors
There are several things in the default .htaccess that can trigger these. Some may not show in your error.log but may show up in syslog (if you're using Linux). Then again you may not have access to this file. Most of the problems are caused by some part of the main server configuration or virtual host configuration not allowing something that is in the .htaccess file.
The best way to troubleshoot it is to leave the .htaccess file there but comment out (#) every line. Then remove the comments from each part until your trigger the error. Once you know what triggers it then you can ask a specific question on how to fix it and someone will have the answer.
Suerte!