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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 | |
|
|