Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: You are not authorized to view this page |
|
Author |
|
pikaj00
Joined: 20 Feb 2006 Posts: 2
|
Posted: Mon 20 Feb '06 0:55 Post subject: You are not authorized to view this page |
|
|
hopefully i can properly explain myself.. im trying to have my mp3's list from my webserver wich wasnt a problem when they were stored on my webroot drive.. now they are stored on a seperate drive and i get this error when i load the page in explorer..
You are not authorized to view this page
here is the code i used.
<Directory "J:/mp3">
Options ExecCGI FollowSymLinks Includes IncludesNOEXEC Indexes MultiViews SymLinksIfOwnerMatch None
Allow from All
AllowOverride Indexes
<IfModule mod_autoindex.c>
Options Indexes
</IfModule>
</Directory>
my drive where the apache bins and such are on g: . webserver runs fine i have some hosted sites on it going perfect.. wont allow access to that drive.. any ideas would be great! thanks all |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Mon 20 Feb '06 13:50 Post subject: |
|
|
Which version of Apache are you running ?
Anything in the error.log ?
When you try the follwoing, is it ok ?
<Directory />
Order allow,deny
Allow from all
</Directory>
Steffen |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Mon 20 Feb '06 15:09 Post subject: |
|
|
There is a need of Alias, caused by the diverent Driveletter
Alias /mp3 "J:/mp3"
<Directory "J:/mp3"> >
Order allow,deny
Allow from all
</Directory>
So you can access the folder by http://your-IP/mp3
e.g. http://127.0.0.1/mp3 |
|
Back to top |
|
pikaj00
Joined: 20 Feb 2006 Posts: 2
|
Posted: Mon 20 Feb '06 22:39 Post subject: |
|
|
adding alias line worked.. excelent guys.. thanks |
|
Back to top |
|
|
|
|
|
|