Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

.htaccess question

 
   Web Hosting Problem Solving Community! (Home) -> Apache RSS
Next:  new to apache on windows  
Author Message
user2476

External


Since: Sep 16, 2003
Posts: 7



(Msg. 1) Posted: Sat Mar 27, 2004 10:48 pm
Post subject: .htaccess question
Archived from groups: alt>apache>configuration (more info?)

Hi

I want to make all pages in a certain directory charset windows-1257, so I
wrote this .htaccess:

<Directory "Winter 2003-2004">
CharsetDefault Windows-1257
</Directory>

However, I get a 500, and the error log says:

[Sat Mar 27 19:38:33 2004] [alert] [client 80.60.202.155]
/mnt/zeno/bart/www/server/Latvia/.htaccess: <Directory not allowed here,
referer: http://bart.tvreclames.nl/Latvia/

AllowOverride is set to "All"

Does anyone know what the problem is here?
Thanks
Bart

 >> Stay informed about: .htaccess question 
Back to top
Login to vote
user2476

External


Since: Sep 16, 2003
Posts: 7



(Msg. 2) Posted: Sat Mar 27, 2004 11:57 pm
Post subject: Re: .htaccess question [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Ok, just figured it out. Didn't need those <Directory> things.

But now the rule just doesn't seem to do anything...

 >> Stay informed about: .htaccess question 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
htaccess question - Hi, I'm quite new with Apache (1.3.27), so this might be a simple question. I want to restrict the access to a directory using htaccess. A user from the local net (192.168.xxx.xxx) should be able to access this directory without any login, any other user...

htaccess question - If I access my web page with just the ip address such as, http://123.123.123.123 I only get prompted once for the user id and password. If I access the page by the domain name such as, www.server.host.com it will prompt me for the user id and password....

htaccess question - Hi I am writing a page but need it so that links look like the following:- http://mysite/variable/ variable is not actually a folder but a variable. I have seen it before but can't fnd it at the moment where script can be put into the htaccess file s...

newbie question about .htaccess - I have a private website folder which I would like to password protect so I have followed the instructions on the Apache website and some other sites to write an .htaccess file. This results in a pop up box which asks for the username and password. The..

Question abou .htaccess - Hello, I forgot to ask you another question. I'd like to do a .htaccess which ask passord for someone go to to this page, but that does'nt ask password, if localhost go to this page. how can I do that? Because I manage to do a .htaccess but for all th..
   Web Hosting Problem Solving Community! (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]