.htaccess Status |
||
Welcome to the Zymic webmaster forums. Our forums are here to provide people the free ability to discuss a range of websites related topics such as design, development coding and marketing.
In order to post you will need to register for a zymic account or if you already have one simply login by using the form on the left.
Zymic Webmaster Forums Zymic Free Web Hosting Zymic Free Web Hosting - General Discussion & Help |
||
.htaccess Status |
||
Oct 8 2007, 12:21 PM
Post
#1
|
|
![]() Outrageously Uber Ninja ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Administrators Posts: 2,831 Joined: 11-March 07 From: UK Member No.: 9 |
If you are receiving the following error 500:
QUOTE Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@hosting.zymic.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. Recently limited functionality has been allowed within .htaccess, this allows any directives for limiting the availability, so for a quick example: CODE Order Deny,Allow Deny from all This can protect a directory. There is however a caveat that comes along with only allowing this. Any directives which do not fall under the scope of 'Limit' will cause the server to choke and spit out the above 500 error. To fix it, either comment out all other directives in your .htaccess, or move/delete the offending .htaccess. Commenting in .htaccess is a line prefixed with '#'. It is not at this time possible to use block statements around the limits. CODE <Directory /foo> # this would not work </DIrectory> We are working on a solution. |
|
|
![]() |
Oct 23 2008, 06:51 AM
Post
#2
|
|
|
Newbie ![]() Group: Members Posts: 5 Joined: 19-July 08 Member No.: 47,546 |
Hi!
Im having problem with my joomla site. It generates an Internal Server Error when I uploaded my .htaccess file. here is the code in the htaccess file. any suggestions/help would be welcome and very much appreciated. ## # @version $Id: htaccess.txt 5975 2006-12-11 01:26:33Z robs $ # @package Joomla # @copyright Copyright © 2005 Open Source Matters. All rights reserved. # @license http://www.gnu.org/copyleft/gpl.html GNU/GPL # Joomla! is Free Software ## ##################################################### # READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE # # The line just below this section: 'Options +FollowSymLinks' may cause problems # with some server configurations. It is required for use of mod_rewrite, but may already # be set by your server administrator in a way that dissallows changing it in # your .htaccess file. If using it causes your server to error out, comment it out (add # to # beginning of line), reload your site in your browser and test your sef url's. If they work, # it has been set by your server administrator and you do not need it set here. # # Only use one of the two SEF sections that follow. Lines that can be uncommented # (and thus used) have only one #. Lines with two #'s should not be uncommented # In the section that you don't use, all lines should start with # # # For Standard SEF, use the standard SEF section. You can comment out # all of the RewriteCond lines and reduce your server's load if you # don't have directories in your root named 'component' or 'content' # # If you are using a 3rd Party SEF or the Core SEF solution # uncomment all of the lines in the '3rd Party or Core SEF' section # ##################################################### ##### SOLVING PROBLEMS WITH COMPONENT URL's that don't work ##### # SPECIAL NOTE FOR SMF USERS WHEN SMF IS INTEGRATED AND BRIDGED # OR ANY SITUATION WHERE A COMPONENT's URL's AREN't WORKING # # In both the 'Standard SEF', and '3rd Party or Core SEF' sections the line: # RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes## # May need to be uncommented. If you are running your Joomla!/Mambo from # a subdirectory the name of the subdirectory will need to be inserted into this # line. For example, if your Joomla!/Mambo is in a subdirectory called '/test/', # change this: # RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes## # to this: # RewriteCond %{REQUEST_URI} ^(/test/component/option,com) [NC,OR] ##optional - see notes## # ##################################################### ## Can be commented out if causes errors, see notes above. Options +FollowSymLinks # # mod_rewrite in use RewriteEngine On # Uncomment following line if your webserver's URL # is not directly related to physical file paths. # Update Your Joomla!/MamboDirectory (just / for root) # RewriteBase / ########## Begin - Joomla! core SEF Section ############# Use this section if using ONLY Joomla! core SEF ## ALL (RewriteCond) lines in this section are only required if you actually ## have directories named 'content' or 'component' on your server ## If you do not have directories with these names, comment them out. # #RewriteCond %{REQUEST_FILENAME} !-f #RewriteCond %{REQUEST_FILENAME} !-d #RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes## #RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC] #RewriteRule ^(content/|component/) index.php # ########## End - Joomla! core SEF Section ########## Begin - 3rd Party SEF Section ############# Use this section if you are using a 3rd party (Non Joomla! core) SEF extension - e.g. OpenSEF, 404_SEF, 404SEFx, SEF Advance, etc # #RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes## RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule (.*) index.php # ########## End - 3rd Party SEF Section ########## Begin - Rewrite rules to block out some common exploits ## If you experience problems on your site block out the operations listed below ## This attempts to block the most common type of exploit `attempts` to Joomla! # # Block out any script trying to set a mosConfig value through the URL RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR] # Block out any script trying to base64_encode crap to send via URL RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR] # Block out any script that includes a <script> tag in URL RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR] # Block out any script trying to set a PHP GLOBALS variable via URL RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR] # Block out any script trying to modify a _REQUEST variable via URL RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2}) # Send all blocked request to homepage with 403 Forbidden error! RewriteRule ^(.*)$ index.php [F,L] # ########## End - Rewrite rules to block out some common exploits |
|
|
Bread .htaccess Status Oct 8 2007, 12:21 PM
Mephiles MediaWiki uses Deny from all in every htaccess fil... Oct 9 2007, 08:53 PM
Bread Deny's are fine. Just as long as no other dire... Oct 10 2007, 02:30 AM
RedBOX I want to ask can we use the rewrite engine? Oct 19 2007, 03:05 PM
Bread I want to ask can we use the rewrite engine?
At t... Oct 19 2007, 03:13 PM
Bread I apologize I did not get the time to complete thi... Oct 23 2007, 12:54 PM
Shar Please administrator, make rewrite module on. I ve... Oct 23 2007, 06:29 PM
RedBOX Me too I only need rewrite Oct 23 2007, 08:34 PM
beekay Hi.. just wondering if there was any update on the... Oct 30 2007, 06:42 AM
ctran i cant get .htpasswd on my account....... Nov 20 2007, 02:54 AM
Hatemaker hi,
i uploaded a bunch of files and one of them wa... Nov 20 2007, 04:12 AM
Mephiles Since it has no filename, it can't be viewed. Nov 20 2007, 07:02 PM
Hatemaker i dont want to view it, just delete it, Nov 20 2007, 09:54 PM
ctran i get the error that is in the first post but i ca... Nov 21 2007, 04:50 PM
Spacater Me too I only need rewrite
Yes, me also really r... Nov 21 2007, 05:48 PM
rm1000 I need the rewrite function. Is this working?? Aug 29 2009, 12:45 AM
zymic_user I tryied upload a .htaccess file but can't see... Nov 28 2007, 03:44 AM
Ganbatte @ Bread: Thanks Bread, I'm glad you guys are w... Nov 29 2007, 03:28 PM
Jert I'm uploading .htaccess but it dont appears in... Dec 29 2007, 10:03 PM
TumorSurvivor Hi,
I originally posted a question here: http://ww... Jan 3 2008, 06:20 PM
Forandphoto Hi,
I originally posted a question here: http://ww... Jan 14 2008, 08:30 PM
Forandphoto Anybody, this is very frustraiting, Yes i know it ... Jan 18 2008, 05:55 PM
Locus Pls, enable mod_rewrite.. Jan 21 2008, 03:50 PM
Cigaras please tell me how to delete the unused .httpacces... Feb 7 2008, 03:02 PM
Hosters I tryed to protect my /admin/ directory with htacc... Feb 28 2008, 01:23 PM

credence I tryed to protect my /admin/ directory with htacc... Apr 8 2008, 12:39 AM
Phoenyx please tell me how to delete the unused .httpacces... May 21 2009, 09:26 AM
J-Seb I can't find my .htaccess file. Can someone he... Feb 17 2008, 02:54 AM
Sir Lemons If you are receiving the following error 500:
Rece... Mar 17 2008, 05:04 AM
ivanlkc I want to know if the following functions are allo... Mar 22 2008, 04:19 AM
Davey90r I have just run a phpBB update (3.0.0 to 3.0.1) wh... Apr 10 2008, 06:04 PM
Drewiske Your best bet is to go into your FTP program (I us... Apr 10 2008, 08:03 PM
Davey90r Indeed I use filezilla and I tried to delete the f... Apr 10 2008, 08:16 PM
Drewiske Are you able to take a screen shot with Snagit or ... Apr 10 2008, 08:38 PM
Davey90r Issue resolved.... in FileZilla click 'Server... Apr 10 2008, 09:13 PM
Drewiske Issue resolved.... in FileZilla click 'Server... Apr 11 2008, 01:47 AM
amsama how about
AuthType Basic
AuthName "My Protec... Apr 28 2008, 03:10 PM
buyerseller2008 Hi,
Like below user, I require htaccess and htpa... May 18 2008, 04:38 PM
the_darkness please mod_rewrite enable May 23 2008, 07:04 PM
cloud hey can i use .htaccess to load my own custom erro... May 27 2008, 04:49 AM
pcdoc2010 Is this fixed, I really can't tell from the po... May 27 2008, 07:35 PM
PDNWorkshop Which modules are currently installed? Jun 1 2008, 04:58 PM
Jekob please enable mod_rewrite :( Jun 10 2008, 01:57 AM
PDNWorkshop please enable mod_rewrite :(
When the site was ... Jun 11 2008, 08:47 PM
Korich Hello, if I can't rewite with mod_rewrite, ple... Jun 17 2008, 04:53 PM
dm1t I tryed to protect my /admin/ directory with .htac... Jul 2 2008, 03:28 AM
LaserBeam So this issue hasn't been solved yet. I get e... Jul 5 2008, 09:49 AM
AzeriFire Please Enable mod_rewrite.I need it, with my own C... Jul 9 2008, 04:18 PM
Steven_Smith I can not seem to upload .htaccess files for my PH... Jul 9 2008, 05:26 PM
AzeriFire Steven_Smith, here you go Jul 9 2008, 06:49 PM
Steven_Smith Thanks, however since removing them all and instal... Jul 11 2008, 11:45 PM
DocEman personally i use coreFTP pro. i have no problems ... Jul 12 2008, 03:51 AM
loveandasandwich Not really complaining, since this is a free host ... Jul 19 2008, 02:02 AM
Ghost Assassin Well, I'm trying to get my site to be able to ... Jul 19 2008, 02:43 AM
Bread Well, I'm trying to get my site to be able to ... Jul 19 2008, 03:01 AM
F u n ]" 530 login authentication failed "[/b]... Jul 19 2008, 06:13 AM
loveandasandwich [b[size=4]]" 530 login authentication failed ... Jul 19 2008, 03:40 PM
predo hi..
im getting 500 Internal Server Error
can i ... Aug 3 2008, 08:50 AM
paulgrtman i cannot verify my site with google cause 404 retu... Aug 4 2008, 06:48 AM
EPOX123 Some one tell me why this is not allowed:
# Force... Aug 11 2008, 12:45 AM
The Prophet Is the PATH_INFO server variable available?
And c... Aug 16 2008, 02:28 PM
amyk >And can I use the .htaccess file to force a mi... Aug 25 2008, 04:40 AM
MARCO1 please enable mod_rewrite Aug 26 2008, 07:01 PM
Good News I can't use .htaccess and .htpasswd, please he... Sep 2 2008, 12:28 PM
swordz What are you trying to do, and what error are you ... Sep 2 2008, 12:48 PM
Good News Well, it's 500 Internal Server Error!... Sep 2 2008, 02:39 PM
swordz 500 error probably means you've made a mistake... Sep 2 2008, 03:34 PM
patrwong Hi, I am new and wanted to set up .htaccess and .h... Oct 16 2008, 06:27 AM
Bread Yes, your password should be encrypted, this shoul... Oct 16 2008, 10:12 AM
Ollie M Hi there, I am new to Zymic, and I find it's f... Oct 19 2008, 11:20 AM
swordz Yes, this is allowed.
swordz Oct 19 2008, 07:29 PM
Bread Comment out(prefix a # to the line) the 'Optio... Oct 23 2008, 11:27 AM
acidpaul Comment out(prefix a # to the line) the 'Optio... Oct 23 2008, 01:18 PM
daemonsvk hi,
i uploaded my site. it's uuuq.com server.... Dec 11 2008, 11:32 PM
past-papers I want to add this:
AddType application/x-httpd-p... Dec 14 2008, 07:40 PM
swordz If there's no .htaccess, yes. If it fails to m... Dec 14 2008, 10:17 PM
TKF AddDefaultCharset utf-8
RewriteEngine On
Rewrite... Dec 26 2008, 12:07 AM
sebarl Hi!
I have the same problem that TKF.
I've... Jan 13 2009, 11:56 PM
PodTube Hi!
I have the same problem that TKF.
I've... Jan 14 2009, 12:01 AM
JamYk hello,
I just recently launch my site here..
the... Jan 30 2009, 01:08 AM
blfesper hello,
I just recently launch my site here..
the... Mar 27 2009, 06:14 PM
PodTube Seriously, guys. Enable .htaccess on UUUQ. Feb 1 2009, 06:36 PM
markie.boy118 Seriously, guys. Enable .htaccess on UUUQ.
is .ht... Feb 10 2009, 04:48 PM
ficholas is .htaccess not enabled on uuuq then?
anyway, im... Feb 18 2009, 03:35 PM
maciej3 And what will be with .htaccess? Feb 11 2009, 10:21 AM
nigil Hi there, I have a site at uuuq.com and i have upl... Mar 5 2009, 10:29 AM
ITGaWD Does Zymic / uuuq let you have a 404 page?
And, Is... Mar 10 2009, 06:57 PM
Kenny M. This is the first time I've used an .htaccess/... May 22 2009, 03:35 AM
babayasin Guys,
password protection for directories works o... Jul 28 2009, 01:15 AM
haldane85 Is DefaultType enabled in .htaccess?
http://us2.ph... Aug 1 2009, 07:26 PM
dimon2242 Help is .htaccess
http://wmpda.uuuq.com/shell/25-p... Aug 15 2009, 06:32 PM
benn If you are receiving the following error 500:
Rece... Aug 21 2009, 10:16 PM
Ed benn, mod_rewrite is enabled, try setting a Rewrit... Aug 21 2009, 10:46 PM
austrismailitis Salut!
Could anyone please help me?
The ... Aug 26 2009, 12:37 PM
joe49 took a look at the previous posts and I don't ... Oct 11 2009, 07:02 AM
fiberoptik Why can not we use this rewrite mod !.. or How... Nov 7 2009, 04:34 PM
mass_specc I have launch my site recently http://mass-specc.z... Nov 10 2009, 03:53 AM
Ed I have launch my site recently [url=http://mass-sp... Nov 10 2009, 05:29 AM
mass_specc Try setting a RewriteBase:
RewriteBase /
Thank yo... Nov 10 2009, 03:53 PM ![]() |
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users) |
||
| 0 Members: | ||
Forum Jump |
||
| Lo-Fi Version | Time is now: 25th May 2013 - 01:58 AM |