logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: You are not authorized to view this page
Author
pikaj00



Joined: 20 Feb 2006
Posts: 2

PostPosted: Mon 20 Feb '06 0:55    Post subject: You are not authorized to view this page Reply with quote

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! Smile thanks all
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3092
Location: Hilversum, NL, EU

PostPosted: Mon 20 Feb '06 13:50    Post subject: Reply with quote

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

PostPosted: Mon 20 Feb '06 15:09    Post subject: Reply with quote

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

PostPosted: Mon 20 Feb '06 22:39    Post subject: Reply with quote

adding alias line worked.. excelent guys.. thanks
Back to top


Reply to topic   Topic: You are not authorized to view this page View previous topic :: View next topic
Post new topic   Forum Index -> Apache