 aa2k
join:2000-10-06 Damascus, MD
| Apache2-Solaris10sparc-access to directories.. help! Hi, I have setup Solaris 10 and apache 2 (already included) but I have a problem accessing the directory I want to place documents...
Let me try to explain.... The 'index.html' file(s) is located in /etc/apache2/mine/ folder.
There is a directory called '/apache_files' under root.
The website will call to either view or download the documents from /apache_files... so far so good.... it works..
Now, I want to place a login to enter to the web site, I follow the steps outlined on: »httpd.apache.org/docs/2.0/howto/auth.html
---e.g.: I added this for the ~/mine directory, so now it asks me for username and password to display the web site:
AuthType Basic AuthName "Restricted Files" AuthUserFile /usr/local/apache/passwd/passwords Require user rbowen ---
I create the user and password (this not a machine user, just to get into the site).
Now I cant get to the files, every time I click on the link I get the 401 page... Looking into the logs I found out that when this ID/password is set it will look for the files to be under the /mine directory and no place else... why???
this is, the structure it is asking me for is: /etc/apache2/mine/apache_files (if I move it this way it works)
But the folder 'apache_files' I needed it to be on a different location, I cant seem to make it work, any suggestions?
Thanks so much.. sorry I am a noob on this... I hope I explained my question in a sufficient way.. aa2k |