republican-creole
Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Tech and Talk » OS and Software » Webmasters and Developers » Apache2-Solaris10sparc-access to directories.. help!
Search Topic:
Uniqs:
377
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
CSS Padding with Firefox »
« Zoneedit now forcing ad popups  
AuthorAll Replies


aa2k

join:2000-10-06
Damascus, MD
reply to state
Re: Apache2-Solaris10sparc-access to directories.. help!

Thanks, I will try it tonight, it sounds like a very good option...


state
stress magnet
Premium,Mod
join:2002-02-08
Hampton, VA
clubs:

Host:
Webhosting
Sonic.net
UK Broadband
Washington & Balti..
UK Chat
reply to aa2k
Have you thought about a symbolic link? Make sure you have the option enabled in the .htaccess file:

Options +FollowSymLinks

Then link the directory:

$ ln -s /apache_files /etc/apache2/mine/apache_files

--
"To steal ideas from one person is plagiarism; to steal from many is research." --Steven Wright


aa2k

join:2000-10-06
Damascus, MD

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
Forums » Tech and Talk » OS and Software » Webmasters and DevelopersCSS Padding with Firefox »
« Zoneedit now forcing ad popups  


Saturday, 05-Dec 22:00:35 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.
page compression OFF
Most commented news this week
· [163] Comcast Releasing Promised Usage Meter
· [147] Avast Antivirus Has Gone Mad
· [128] Comcast Makes NBC Universal Acquisition Official
· [121] The Bandwidth Hog Does Not Exist
· [105] Graduate Student Unveils Sprint's GPS Sharing With Feds
· [101] Google Invades ISP, OpenDNS Turf With Google Public DNS
· [85] FCC Ponders Moving From PSTN To IP Voice
· [82] Latest Consumer Reports Survey Not Kind To AT&T
· [80] New Bill Aims To Limit ETFs
· [74] Sprint Defuses GPS Privacy Media Bomb
Most people now reading
· Wife might have to work in.... Iowa for a few months!!! [General Questions]
· False positive in Avast! or is it real? [Security]
· UPS - What do you people think happened? [General Questions]
· 3.x Feral Druid - Bear Tanking Guide [World of Warcraft]
· First commercial tool to crack BitLocker arrives (Updated) [Security]
· Connecting to Google Voice Via SIP [VOIP Tech Chat]
· Windows 7 boot manager editing questions [Microsoft Help]
· Many Sites Unreachable [Rogers]
· ToC 4th boss - Preliminary Strategy for Twin Valkyr [World of Warcraft]
· [Newsgroups] Newzleech down? [Filesharing Software]