You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Robert Andersson <ro...@profundis.nu> on 2003/12/11 07:50:43 UTC
Re: [users@httpd] apache on raq4 .htaccess and standard erorrbehaviour not working.
Jim Byrne wrote:
> I haven't tried that - because I wasn't exactly sure where to put the
> directives in the http.conf file. I read many times I could do that - but
I
> haven't seen any examples.
Simple, just do it like this:
<Directory /home/sites/site4/web>
AuthType Basic
AuthName "Super Secret Stuff"
AuthUserFile /wherever/you/might/have/userpasswd
Require valid-user
</Directory>
About your original problem, I seem to recall previous discussions regarding
Netscape's "document contains no data" error. Have you googled that phrase,
or searched the archives for it?
Regards,
Robert Andersson
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] apache on raq4 .htaccess and standard
erorrbehaviour not working.
Posted by Jim Byrne <ji...@glasgowwestend.co.uk>.
Hi, Thanks for your reply. I did add the my Authentication message to the
httpd.conf file (I assume I was not to put the info in the Virtual Site
part?) - but it made not difference - I still get 'Document contains no
data'.
I looked up this phrase in Google but I didn't see anythign that seemmed to
relate to the problems I have been having.
All the best,
Jim
on 12/11/03 6:50 AM, Robert Andersson at robert@profundis.nu wrote:
> Jim Byrne wrote:
>> I haven't tried that - because I wasn't exactly sure where to put the
>> directives in the http.conf file. I read many times I could do that - but
> I
>> haven't seen any examples.
>
> Simple, just do it like this:
>
> <Directory /home/sites/site4/web>
> AuthType Basic
> AuthName "Super Secret Stuff"
> AuthUserFile /wherever/you/might/have/userpasswd
> Require valid-user
> </Directory>
>
> About your original problem, I seem to recall previous discussions regarding
> Netscape's "document contains no data" error. Have you googled that phrase,
> or searched the archives for it?
>
> Regards,
> Robert Andersson
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
--
My recommended eBook: 'Accessible Web Typography - an introduction for web
designers' at http://www.scotconnect.com/webtype.php
Pat's Guide to Glasgow West End: http://www.glasgowwestend.co.uk
Flathunting: http://www.glasgowwestend.co.uk/flathunting/
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org