1and1 Mod Rewrite Error 500
Contents |
PHP > Article Reported Service Interruptions Explanation of 500 Errors 500 Errors are commonly produced when there are errors in the .htaccess file or
1and1 Error Log
one of the package limitations has been exceeded. Use the table 1and1 500 server error wordpress below to find the limitation of your package: Basic Package Unlimited Package Advanced Package Max script execution
1and1 Apache Error Log
time 20 seconds 40 seconds 60 seconds Max simultaneous processes 10 15 16 Max memory per process 60MB 80MB 128MB It is common to experience 500 errors intermittently when 1and1 mod_rewrite not working the package limitations have been exceeded which may correspond to swells in traffic during the day. When there is an error with a .htaccess file, all pages of the website will display a 500 error indefinitely until the .htaccess file is corrected or removed. As little as a simple spelling mistake or syntax error will cause a 1and1 500 internal server error 500 error. If the .htaccess file has been edited recently, replace the file with a backup. If no backup is available, try to undo the changes to the file if you can remember what has been altered. If those options are not feasible, you can try commenting lines one by one by placing a pound sign(#) at the beginning of the line to comment it out. Then try to access a page of the site. Continue to add the pound sign to more lines until the 500 error stops which should help you pinpoint which line needs to be corrected. For additional information, you may want to reference: Linux Custom Error Pages Create Custom Error Pages (MS 2008) Related Articles Explanation of Custom CGIs Use the CGI Output Monitor to Test Scripts and Parse Codes Importing and Exporting MySQL Databases Using PHP View PHP Settings and Modules Delete a Cron Job Create a Cron Job About 1&1 Jobs at 1&1 Newsroom T&C Privacy Policy © 2016 1&1 Internet Inc.
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn
1and1 Php Error Log
more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags php ini 1and1 Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you,
1and1 Php Memory Limit
helping each other. Join them; it only takes a minute: Sign up 1and1 mod_rewrite issues up vote 0 down vote favorite 3 I'm currently trying to have my 1and1 host an .htaccess file with mod_rewrite enabled, it works http://help.1and1.com/hosting-c37630/scripts-and-programming-languages-c85099/php-c37728/explanation-of-500-errors-a595888.html on my local wamp, but it doesn't on the server, Any help would be greatly appreciated! I've tried removing everything but the mod_rewrite block and the issue still persists... I've asked 1&1 for support, they closed my ticket without answering... o_O, Please help! .htaccess file: # # Dream Forgery Settings: # AddType x-mapp-php5 .php RewriteEngine on RewriteBase / # Rewrite current-style URLs of the form 'strap.php?q=x'. RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /strap.php?q=$1 [L,QSA] http://stackoverflow.com/questions/8681959/1and1-mod-rewrite-issues Edit: I don't have access to apache logs as this is a shared hosting, but the functionality expected is to redirect urls for example: http://example.com/arg1/arg2/arg3 to http://example.com/strap.php?q=arg1/arg2/arg3 (it is currently giving 404 errors, only the 404 page from 1&1 shows up) .htaccess mod-rewrite share|improve this question edited Feb 15 '12 at 1:31 Charles 40k1069107 asked Dec 30 '11 at 17:03 Luc Laverdure 1,1452924 And what is the issue? Please explain what is working and what not. –Gerben Dec 30 '11 at 17:44 I don't have access to apache logs as this is a shared hosting, but the functionality expected is to redirect urls for example: example.com/arg1/arg2/arg3 to example.com/strap.php?q=arg1/arg2/arg3 (it is currently giving 404 errors, and the custom 404 page doesn't show up, only the 404 page from 1&1 shows up) –Luc Laverdure Dec 30 '11 at 17:52 Seems like the host doesn't support htaccess. –Gerben Dec 30 '11 at 18:11 It appears to support htaccess because if I put some odd characters in it I get a 500 error... strange host... –Luc Laverdure Dec 30 '11 at 19:06 So where does your strap.php reside on that new host? –anubhava Jan 13 '12 at 19:44 | show 1 more comment 2 Answers 2 active oldest votes up vote 8 down vote accepted Found the answer here: Ad
connections all over the world. Join today Community Community Home Getting Involved Chat https://www.drupal.org/node/8047 Forum GeneralGeneral discussion 1and1 hosting suddenly returning 500 errors http://www.getgrawlix.com/forum/discussion/41/500-error-on-1-1-host Posted by mikemee on May 25, 2004 at 3:19pm Is anyone else using 1and1 hosting having problems with their drupal site? I have three running 4.3.2 and since yesterday, they're all returning Error 500: Internal Server Error. And since error log 1and1 doesn't make the error logs available its a real pain to debug. Anyone else seeing this? Or better still worked around it? In case it helps, according to someone on this thread:http://s88567960.onlinehome.us/forums/index.php?showtopic=650&st=0& apparently they recently upgraded to PHP 3.3.6. Also other installs are being broken like xoops. thx, 1and1 mod rewrite michael Log in or register to post comments Comments more info - phpinfo, htaccess mikemee commented May 25, 2004 at 3:31pm Fwiw, the phpinfo results can be found here: http://s89376282.onlinehome.us/phpinfo.php in case someone can take a look and say "well of course it won't work because ....". Also, removing the htaccess file "fixes" things, in that it removes the error. Contents of the htaccess file are: # # Apache/PHP/site settings: # # Protect files and directories from prying eyes: .htaccess for the website to work. If I didnt do that, I got 404 errors when clicking any hyperlink in the site, and I couldn't go to previous pages than the last one. I fixed that and procedeed to install it on a 1&1 hosting. However, when I put .htaccess, it gives out a 500 error. I comment (with #) every line and noticed that the two that are giving troubles are: php_flag register_globals off RewriteRule ^(.*)$ index.php?$1 Whenever any of those is not commented, it gives out 500 error, and when they're, the site works but with 404 on every link. 1&1 was one of the hosts that were supposed to be tested so I find rather strange that this happens, specially since it worked on a free hosting. I'm using version 1.0.3; I wouldn't mind giving a try to version 1.0.2 but I can't seem to find it available for download. Any idea? Comments grawlixcomix November 2015 Hi wai, We’ve had reports that the Grawlix CMS works on 1&1, so there’s hope yet. Where is your website — could we take a look, or is it private? wai November 2015 edited November 2015 Yes sure- It's www.wai-online.com It's there any way to get a download for 1.0.2? I think it's worth a try Also I'd like to point out that I set php version on the host as 1.6 I believe -can't check atm-, I'm supposed to use an older version or this one should be fine? grawlixcomix November 2015 You can download version 1.0.2 from (a hidden link) on the downloads page. The Grawlix CMS requires PHP 5.3 or higher (5.4 recommended). wai November 2015 Yes sorry, the version I had was 5.6. I have 5.4 now, also deleted and uploaded 1.0.2... still no luck. wai November 2015 Given there seems to be no solution, what hosting and plan do you recommend me? grawlixcomix November 2015 We’re fans of Dreamiest, but that’s just us. Let’s try something else: what happens if you rename .htaccess to, say, .htaccess-disabled ? grawlixcomix November 2015 (Silly autocorrect — Dreamhost) wai November 2015 Sorry for late reply, have been busy with life :< If I put it as .htaccess-disabled I got the same error than at the beggining. The main page works, but no link does. grawlixcomix November 2015 No worries, life happens. You’re right, the site won’t work without .htaccess. But that helps us eliminate some potential gotchas. Here’s what I’m thinking. Blank inside pages m