Help - Search - Members - Calendar
Full Version: .htaccess Status
Zymic Webmaster Forums > Zymic Free Web Hosting > Zymic Free Web Hosting - General Discussion & Help
Pages: 1, 2
Bread
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
MediaWiki uses Deny from all in every htaccess file. Does this mean that the software won't work?
Bread
Deny's are fine. Just as long as no other directives are used in that file, it should have no problems.
RedBOX
I want to ask can we use the rewrite engine?
Bread
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.
Bread
I apologize I did not get the time to complete this. When I get a spare moment I will get back on it.
Shar
Please administrator, make rewrite module on. I very need this...
RedBOX
Me too I only need rewrite
beekay
Hi.. just wondering if there was any update on the rewrite ability being allowed?
ctran
i cant get .htpasswd on my account.......
Hatemaker
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/.htaccess
for some reason, i cannot rename, edit, delete, or move it (even used ftp)
any help would be greatly appreciated

~Hatemaker
Mephiles
Since it has no filename, it can't be viewed.
Hatemaker
i dont want to view it, just delete it,
ctran
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
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
I tryied upload a .htaccess file but can't see it , is not on the server when i try to upload it
Ganbatte
@ 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. smile.gif

@ 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
I'm uploading .htaccess but it dont appears in the file list.. but anyway, i need the mod rewrite T_T
TumorSurvivor
Hi,
I originally posted a question here: http://www.zymic.com/forum/index.php?showt...amp;#entry14360
regarding 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
QUOTE(TumorSurvivor @ Jan 3 2008, 06:20 PM) *
Hi,
I originally posted a question here: http://www.zymic.com/forum/index.php?showt...amp;#entry14360
regarding 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
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
Pls, enable mod_rewrite..
Cigaras
please tell me how to delete the unused .httpaccess files?
J-Seb
I can't find my .htaccess file. Can someone help me?
Hosters
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
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
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
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. hunter.gif
Davey90r
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
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....

Davey90r
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
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
Davey90r
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 smile.gif
Drewiske
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 smile.gif


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
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
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
please mod_rewrite enable
cloud
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
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
Which modules are currently installed?
Jekob
please enable mod_rewrite sad.gif
PDNWorkshop
QUOTE(Jekob @ Jun 10 2008, 01:57 AM) *
please enable mod_rewrite sad.gif


When the site was working it worked for me.
Korich
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
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
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
Please Enable mod_rewrite.I need it, with my own CMS sad.gif I use SEF for it.
Steven_Smith
I can not seem to upload .htaccess files for my PHPNuke angry.gif 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
Steven_Smith, here you go
Steven_Smith
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
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.
Invision Power Board © 2001-2008 Invision Power Services, Inc.