A double HITTER question About Apache.conf

This is a discussion on A double HITTER question About Apache.conf within the Windows Web Servers forums, part of the Web Server and Related Forums category; Okay:: I have 2 problems... { First: { I have been reading in these groups about .htaccess and how you CAN and ...


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-03-2003
Snail
 
Posts: n/a
Default A double HITTER question About Apache.conf

Okay::

I have 2 problems...
{
First:
{
I have been reading in these groups about .htaccess and how you
CAN and you CANNOT have .htaccess under windows...
yet... what i really want to know is:
{
how do you change the access file name? this is what i have
so far:

###
# AccessFileName: The name of the file to look for in each directory
# for additional configuration directives. See also the AllowOverride
# directive.
#
#AccessFileName .htaccess
AccessFileName access.ht
#
# The following lines prevent .htaccess and .htpasswd files from being
# viewed by Web clients.
#
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>
###
So how can i get my system to work with the access.ht
files?
It does not work, or so i think, i think i have not used
correct
syntax in my access.ht file:

Order deny,allow
AuthType Basic
AuthName "Restricted Files"
Deny from all
Allow from 127.0.0.1

###DID i do this right???
}}
Second:
{
How can i setup "per-user web directories"
under


Windows(C)(TM)(R)(WHATEVER)??? I have printed the document from
httpd.apache.org/docs-2.0/howto/public_html.html it is right in front
of me as i write... yet... every time i setup the folder on the users'
desktop My Webpage it does not work... this is my config:

#
# UserDir: The name of the directory that is appended onto a user's
home
# directory if a ~user request is received. Be especially careful to
use
# proper, forward slashes here. On Windows NT, "Personal/My Website"
# is a more appropriate choice.
#
#UserDir "My Documents/My Website"
UserDir "Desktop/My Website"
#
# Control access to UserDir directories. The following is an example
# for a site where these directories are restricted to read-only.
#
# You must correct the path for the root to match your system's
configured
# user directory location, e.g. "C:/WinNT/profiles/*/My Documents/My
Website"
# or whichever, as appropriate.
#
#<Directory "C:/Documents and Settings/*/My Documents/My Website">
# AllowOverride FileInfo AuthConfig Limit
# Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
# <Limit GET POST OPTIONS PROPFIND>
# Order allow,deny
# Allow from all
# </Limit>
# <LimitExcept GET POST OPTIONS PROPFIND>
# Order deny,allow
# Deny from all
# </LimitExcept>
#</Directory>

###WHAT DID I DO WRONG????

}}

Thanks in advance for reading

4 is not a number...
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:13 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0