Zymic Forums

Webmaster resources

Zymic IRC Server

Chat in real time at irc.zymic.com - Learn More

Welcome

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.

left Zymic Webmaster ForumsZymic Free Web HostingZymic Free Web Hosting - General Discussion & Help right
7 Pages V   1 2 3 > »    Reply to this topic Start new topic
left right
Ed
post 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.
Go to the top of the page 
 
  + Quote Post
Mephiles
post Oct 9 2007, 08:53 PM
Post #2


Member
**

Group: Members
Posts: 90
Joined: 19-September 07
From: United Kingdom
Member No.: 178



MediaWiki uses Deny from all in every htaccess file. Does this mean that the software won't work?
Go to the top of the page 
 
  + Quote Post
Ed
post Oct 10 2007, 02:30 AM
Post #3


Outrageously Uber Ninja
*******

Group: Administrators
Posts: 2,831
Joined: 11-March 07
From: UK
Member No.: 9



Deny's are fine. Just as long as no other directives are used in that file, it should have no problems.
Go to the top of the page 
 
  + Quote Post
RedBOX
post Oct 19 2007, 03:05 PM
Post #4


Member
**

Group: Members
Posts: 69
Joined: 2-October 07
Member No.: 842



I want to ask can we use the rewrite engine?
Go to the top of the page 
 
  + Quote Post
Ed
post Oct 19 2007, 03:13 PM
Post #5


Outrageously Uber Ninja
*******

Group: Administrators
Posts: 2,831
Joined: 11-March 07
From: UK
Member No.: 9



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.
Go to the top of the page 
 
  + Quote Post
Ed
post Oct 23 2007, 12:54 PM
Post #6


Outrageously Uber Ninja
*******

Group: Administrators
Posts: 2,831
Joined: 11-March 07
From: UK
Member No.: 9



I apologize I did not get the time to complete this. When I get a spare moment I will get back on it.
Go to the top of the page 
 
  + Quote Post
Shar
post Oct 23 2007, 06:29 PM
Post #7


Newbie
*

Group: Members
Posts: 1
Joined: 23-October 07
Member No.: 1,752



Please administrator, make rewrite module on. I very need this...
Go to the top of the page 
 
  + Quote Post
RedBOX
post Oct 23 2007, 08:34 PM
Post #8


Member
**

Group: Members
Posts: 69
Joined: 2-October 07
Member No.: 842



Me too I only need rewrite
Go to the top of the page 
 
  + Quote Post
beekay
post Oct 30 2007, 06:42 AM
Post #9


Newbie
*

Group: Members
Posts: 1
Joined: 30-October 07
Member No.: 2,101



Hi.. just wondering if there was any update on the rewrite ability being allowed?
Go to the top of the page 
 
  + Quote Post
ctran
post Nov 20 2007, 02:54 AM
Post #10


Newbie
*

Group: Members
Posts: 20
Joined: 17-October 07
Member No.: 1,447



i cant get .htpasswd on my account.......
Go to the top of the page 
 
  + Quote Post
Hatemaker
post Nov 20 2007, 04:12 AM
Post #11


Newbie
*

Group: Members
Posts: 2
Joined: 20-November 07
Member No.: 3,108



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
Go to the top of the page 
 
  + Quote Post
Mephiles
post Nov 20 2007, 07:02 PM
Post #12


Member
**

Group: Members
Posts: 90
Joined: 19-September 07
From: United Kingdom
Member No.: 178



Since it has no filename, it can't be viewed.
Go to the top of the page 
 
  + Quote Post
Hatemaker
post Nov 20 2007, 09:54 PM
Post #13


Newbie
*

Group: Members
Posts: 2
Joined: 20-November 07
Member No.: 3,108



i dont want to view it, just delete it,
Go to the top of the page 
 
  + Quote Post
ctran
post Nov 21 2007, 04:50 PM
Post #14


Newbie
*

Group: Members
Posts: 20
Joined: 17-October 07
Member No.: 1,447



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!!!!!!
Go to the top of the page 
 
  + Quote Post
Spacater
post Nov 21 2007, 05:48 PM
Post #15


Newbie
*

Group: Members
Posts: 9
Joined: 21-November 07
Member No.: 3,175



QUOTE(RedBOX @ Oct 23 2007, 08:34 PM) *
Me too I only need rewrite



Yes, me also really require the module rewrite functions !!!
Thanks,
Go to the top of the page 
 
  + Quote Post
zymic_user
post Nov 28 2007, 03:44 AM
Post #16


Newbie
*

Group: Members
Posts: 12
Joined: 27-November 07
Member No.: 3,562



I tryied upload a .htaccess file but can't see it , is not on the server when i try to upload it
Go to the top of the page 
 
  + Quote Post
Ganbatte
post Nov 29 2007, 03:28 PM
Post #17


Newbie
*

Group: Members
Posts: 12
Joined: 28-November 07
Member No.: 3,624



@ 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...
Go to the top of the page 
 
  + Quote Post
Jert
post Dec 29 2007, 10:03 PM
Post #18


Newbie
*

Group: Members
Posts: 1
Joined: 29-December 07
Member No.: 5,826



I'm uploading .htaccess but it dont appears in the file list.. but anyway, i need the mod rewrite T_T
Go to the top of the page 
 
  + Quote Post
TumorSurvivor
post Jan 3 2008, 06:20 PM
Post #19


Newbie
*

Group: Members
Posts: 6
Joined: 1-January 08
Member No.: 5,962



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.
Go to the top of the page 
 
  + Quote Post
Forandphoto
post Jan 14 2008, 08:30 PM
Post #20


Newbie
*

Group: Members
Posts: 8
Joined: 13-January 08
From: Niagara Falls, Ontario, Canada
Member No.: 6,917



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?
Go to the top of the page 
 
  + Quote Post
7 Pages V   1 2 3 > » 
 Reply to this topic Start new topic
left right
0 Members:
left right
 


Lo-Fi Version Time is now: 21st May 2013 - 02:35 AM