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.
Mephiles
Oct 9 2007, 08:53 PM
MediaWiki uses Deny from all in every htaccess file. Does this mean that the software won't work?
Deny's are fine. Just as long as no other directives are used in that file, it should have no problems.
RedBOX
Oct 19 2007, 03:05 PM
I want to ask can we use the rewrite engine?
QUOTE(RedBOX @ Oct 19 2007, 04:05 PM)

I want to ask can we use the rewrite engine?
At the moment, no, but we have a solution for this in the pipeline. I will get this done over the weekend.
I apologize I did not get the time to complete this. When I get a spare moment I will get back on it.
Shar
Oct 23 2007, 06:29 PM
Please administrator, make rewrite module on. I very need this...
RedBOX
Oct 23 2007, 08:34 PM
Me too I only need rewrite
beekay
Oct 30 2007, 06:42 AM
Hi.. just wondering if there was any update on the rewrite ability being allowed?
ctran
Nov 20 2007, 02:54 AM
i cant get .htpasswd on my account.......
Hatemaker
Nov 20 2007, 04:12 AM
hi,
i uploaded a bunch of files and one of them was a .htaccess, right now its located at
http://moviesinaclick.99k.org/123/34dat/.htaccessfor some reason, i cannot rename, edit, delete, or move it (even used ftp)
any help would be greatly appreciated
~Hatemaker
Mephiles
Nov 20 2007, 07:02 PM
Since it has no filename, it can't be viewed.
Hatemaker
Nov 20 2007, 09:54 PM
i dont want to view it, just delete it,
ctran
Nov 21 2007, 04:50 PM
i get the error that is in the first post but i can't get .htpasswd on my account so i cant do anything!!!!!! PLEASE ALLOW THE .HTPASSWD FILE!!!!!!
Spacater
Nov 21 2007, 05:48 PM
QUOTE(RedBOX @ Oct 23 2007, 08:34 PM)

Me too I only need rewrite
Yes, me also really require the module rewrite functions !!!
Thanks,
zymic_user
Nov 28 2007, 03:44 AM
I tryied upload a .htaccess file but can't see it , is not on the server when i try to upload it
Ganbatte
Nov 29 2007, 03:28 PM
@
Bread: Thanks Bread, I'm glad you guys are working on a solution for this. There are a number of legit web applications that need to have .htaccess (and some other hidden files) to be uploaded onto the servers in order for them to work. Perhaps it's wrong for me to give anyone the benefit of the doubt, but I'm sure many people who upload these files have no malicious intention.

@
zymic_user: Your .htaccess file is actually uploaded to your server, but you will need to use an FTP client with the capability of seeing hidden files in the remote server. The good news is that most FTP clients allow you to do this, such as CuteFTP, SmartFTP, FlashFXP, and so on, but the bad news is that most of them do not view hidden files by default; therefore, you will have to consult their manual to find out how to do this. Generally speaking, it's either by click on on some button that allows you to view hidden files, or using a server-side filter "-la" (without the double-quotes). I hope this helps, you'll need it especially if you want to delete a folder containing hidden files...
Jert
Dec 29 2007, 10:03 PM
I'm uploading .htaccess but it dont appears in the file list.. but anyway, i need the mod rewrite T_T
TumorSurvivor
Jan 3 2008, 06:20 PM
Hi,
I originally posted a question here:
http://www.zymic.com/forum/index.php?showt...amp;#entry14360regarding protecting a (sub)directory, and the admin suggested I post here instead, so here goes:
I want to protect a subdirectory called 'database' in my root. I have created a .htaccess document in the /database directory. This is it:
AuthType Basic
AuthName "ependyDatabaseDir"
AuthUserFile "/www/zzl.org/e/p/e/ependymoma/.htpasswd"
Require valid-user
I also created a .htpasswd file in the root, with a username/password combination. Both files have 755 permissions. I am still getting 500 error when I attempt to access a page in the database directory. Any help with what is going wrong?
From what I have gleaned on the forums things should work: the permissions are good, both files I think include *only* what they should, and I believe the path is correct.
Forandphoto
Jan 14 2008, 08:30 PM
QUOTE(TumorSurvivor @ Jan 3 2008, 06:20 PM)

Hi,
I originally posted a question here:
http://www.zymic.com/forum/index.php?showt...amp;#entry14360regarding protecting a (sub)directory, and the admin suggested I post here instead, so here goes:
I want to protect a subdirectory called 'database' in my root. I have created a .htaccess document in the /database directory. This is it:
AuthType Basic
AuthName "ependyDatabaseDir"
AuthUserFile "/www/zzl.org/e/p/e/ependymoma/.htpasswd"
Require valid-user
I also created a .htpasswd file in the root, with a username/password combination. Both files have 755 permissions. I am still getting 500 error when I attempt to access a page in the database directory. Any help with what is going wrong?
From what I have gleaned on the forums things should work: the permissions are good, both files I think include *only* what they should, and I believe the path is correct.
Same thing with me.. Any fixed, or how to fix?
Forandphoto
Jan 18 2008, 05:55 PM
Anybody, this is very frustraiting, Yes i know it is free hosting. But may I ask whats the security reason for disallowing subfolders to be passwordprotested (htaccess)?
Locus
Jan 21 2008, 03:50 PM
Pls, enable mod_rewrite..
Cigaras
Feb 7 2008, 03:02 PM
please tell me how to delete the unused .httpaccess files?
J-Seb
Feb 17 2008, 02:54 AM
I can't find my .htaccess file. Can someone help me?
Hosters
Feb 28 2008, 01:23 PM
I tryed to protect my /admin/ directory with htaccess.Now i get the Internal Server Error.I can't delete the htaccess so i can't access the admin panel pls help me...
edit:i deleted it with other ftp client.
Sir Lemons
Mar 17 2008, 05:04 AM
QUOTE(Bread @ Oct 8 2007, 12:21 PM)

If you are receiving the following error 500:
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.
I know this is free hosting but I have created my own 404 Error pages, 403, etc; but can you allow .htaccess to make these the default errorpages?
It would be really appreciated!
Thanks in advance!
ivanlkc
Mar 22 2008, 04:19 AM
I want to know if the following functions are allowed to be used in the .htaccess file?
CODE
php_value upload_max_filesize 20M
php_value post_max_size 20M
php_value max_execution_time 200
php_value max_input_time 200
Thanks.
credence
Apr 8 2008, 12:39 AM
QUOTE(Hosters @ Feb 28 2008, 01:23 PM)

I tryed to protect my /admin/ directory with htaccess.Now i get the Internal Server Error.I can't delete the htaccess so i can't access the admin panel pls help me...
edit:i deleted it with other ftp client.
I also just got that Internal Server Error.
Dave
Apr 10 2008, 06:04 PM
I have just run a phpBB update (3.0.0 to 3.0.1) which involved uploading an 'install' directory. The update completed fine but in order to reaccess the board the /install directory must be removed (like in the initial installation of the board). From Filezilla I deleted the directory and it did the normal thing of deleting the files. However the /install directory still remains and cannot be deleted. It is empty apart from 2 .htaccess files which do not show up in filezilla and cannot be deleted using zymic file manager either.
Edit: I renamed the /install directory which at least allows me to access the board again.
But I still cannot delete it. Any ideas?
Drewiske
Apr 10 2008, 08:03 PM
Your best bet is to go into your FTP program (I used filezilla) and locate the file in there and right click on it and delete it that way.
That is how I did it. See the screen below for a better idea....
img413.imageshack.us/img413/9180/deleteinstallphpjh3.jpg
Dave
Apr 10 2008, 08:16 PM
Indeed I use filezilla and I tried to delete the files in that way... but the 2 folders in which the .htaccess files are located show as empty... yet they cannot be deleted because they contain these files. A confusing situation??
Drewiske
Apr 10 2008, 08:38 PM
Are you able to take a screen shot with Snagit or even simply take a picture of your desktop and submit it here with the filazilla client open so we can see your files that you have in you phpbb3 folder?
It might make it a bit easier.
If you have MSN add me and I'll see what I can do to help: mdrewiske@hotmail.com
Dave
Apr 10 2008, 09:13 PM
Issue resolved.... in FileZilla click 'Server' menu at the top and then 'Force showing hidden files'.
This made the 2 .htaccess files appear allowing me to delete them and then delete the whole /install directory
Drewiske
Apr 11 2008, 01:47 AM
QUOTE(Davey90r @ Apr 10 2008, 09:13 PM)

Issue resolved.... in FileZilla click 'Server' menu at the top and then 'Force showing hidden files'.
This made the 2 .htaccess files appear allowing me to delete them and then delete the whole /install directory

He and I figured it out. In filezilla, you have to click the button that shows "hidden files" in the server menu at the top of the page. Then you can go in and delete the .htasccess files and then delete the DIR [rectory] folders and it works fine.
See this pic:
amsama
Apr 28 2008, 03:10 PM
how about
AuthType Basic
AuthName "My Protected Area"
AuthUserFile /path/to/.htpasswd
Require valid-user
and
.htpasswd
and
rewrite
i need this~
its oke if cant.
buyerseller2008
May 18 2008, 04:38 PM
Hi,
Like below user, I require htaccess and htpasswd access. Please let me know if this is not possible.
Thanks
QUOTE(amsama @ Apr 28 2008, 03:10 PM)

how about
AuthType Basic
AuthName "My Protected Area"
AuthUserFile /path/to/.htpasswd
Require valid-user
and
.htpasswd
the_darkness
May 23 2008, 07:04 PM
please mod_rewrite enable
cloud
May 27 2008, 04:49 AM
hey can i use .htaccess to load my own custom error pages is it allowed
Thanks in advance
*edit got an answer
its allowed
pcdoc2010
May 27 2008, 07:35 PM
Is this fixed, I really can't tell from the posts. Most of them were about actually viewing/editing the .htaccess file.
I'd like to be able to pswd the entire directory (site) if possible and this is the easiest way I know how.
I set it up but I keep getting the Internal Server Error.
My .htaccess file is this:
AuthName "Restricted Area"
AuthType Basic
AuthUserFile /.htpasswd
AuthGroupFile /dev/null
require valid-user
is that the correct path?
Any help is much appreciated.
PDNWorkshop
Jun 1 2008, 04:58 PM
Which modules are currently installed?
Jekob
Jun 10 2008, 01:57 AM
please enable mod_rewrite
PDNWorkshop
Jun 11 2008, 08:47 PM
QUOTE(Jekob @ Jun 10 2008, 01:57 AM)

please enable mod_rewrite

When the site was working it worked for me.
Korich
Jun 17 2008, 04:53 PM
Hello, if I can't rewite with
mod_rewrite, please change for my
http://korich.zzl.org .htaccess file on
CODE
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
dm1t
Jul 2 2008, 03:28 AM
I tryed to protect my /admin/ directory with .htaccess. It doesn't work and i'd like to know if it possible. My .htaccess and .htpasswd files worked on another hosting. Here I only changed path to .htpasswd file. Now its /www/vndv.com/n/o/g/o-raznom/htdocs/wp-admin/.htpasswd Is something wrong? Maybe I should do something else?
LaserBeam
Jul 5 2008, 09:49 AM
So this issue hasn't been solved yet. I get exactly the same 500 error/internal server error after I uploaded a new Drupal package yesterday which contains a .htaccess file. Previously my site had the default Zymic index.html only and it showed correctly. So I need to delete the .htaccess file at the moment to install the Drupal site, right? What should I do if I want to keep the .htaccess file on site since the Drupal and its various modules, e.g. clean URL module will need to use this .htaccess to operate correctly?
AzeriFire
Jul 9 2008, 04:18 PM
Please Enable mod_rewrite.I need it, with my own CMS
I use SEF for it.
Steven_Smith
Jul 9 2008, 05:26 PM
I can not seem to upload .htaccess files for my PHPNuke

Anyone know why? Also when I try to run the install or even goto index.php which should just generate an error I just get an error saying too many redirects I am guessing the problem is linked.
AzeriFire
Jul 9 2008, 06:49 PM
Steven_Smith,
here you go
Steven_Smith
Jul 11 2008, 11:45 PM
Thanks, however since removing them all and installing I keep getting loads of Access Denied errors, never have this with PHPNuke Platinum before so I guessing it is because of that.
DocEman
Jul 12 2008, 03:51 AM
personally i use coreFTP pro. i have no problems seeing hidden files and chmod them to set permissions. as for certain apps "phpLANG" whatever app. best bet is to 1- read apps docs. 2- post "app name" and .htaccess problem. -eman
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.