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: Alias Weirdness - 403 Forbidden
Author
vbrtrmn



Joined: 11 Aug 2006
Posts: 3

PostPosted: Tue 14 Nov '06 16:49    Post subject: Alias Weirdness - 403 Forbidden Reply with quote

I'm having some weirdness with Alias, for some reason I always get a standard 403:
Quote:
Forbidden
You don't have permission to access /SVN/ on this server.


I've added the following into <IfModule alias_module>:
Code:
      Alias /svn/ C:/SVN
      Alias /svn C:/SVN
      Alias /SVN/ C:/SVN
      Alias /SVN C:/SVN
      <Directory "C:/SVN">
         Options Indexes MultiViews
         AllowOverride None
         Order allow,deny
         Allow from all
      </Directory>

I've also tried just adding it to the bottom of the httpd.conf, further, the Directory with and w/o the quotes. I'm probably making a dumb mistake, I just don't see it.
Back to top
Brian



Joined: 21 Oct 2005
Posts: 209
Location: Puyallup, WA USA

PostPosted: Wed 15 Nov '06 0:05    Post subject: Reply with quote

I admit limitted experience with proxy, even though I use mod_proxy myself.

But that being said, in a win32 environment, do you need to set both upper and lowercase? I don't think for mod_proxy it makes any difference for Win32.

Next, does your web server operate under a different set of user credentials that does not have permission to access that folder? It sounds like a permissions thing.

Try placing the folder into a KNOWN accessible location such as the root of the vhost, just create a temp folder, and then alias to it - for testing purposes. Find a configuation that you can baseline it off of maybe?
Back to top
Jorge



Joined: 12 Mar 2006
Posts: 376
Location: Belgium

PostPosted: Wed 15 Nov '06 0:54    Post subject: Reply with quote

why all the aliasses?
URI's are case-insensitive on windows.
http://www.dn.tld/somefilE
http://www.dn.tld/somefile
http://www.dn.tld/SOMEFILE
are all the same
Back to top
vbrtrmn



Joined: 11 Aug 2006
Posts: 3

PostPosted: Wed 15 Nov '06 16:56    Post subject: Reply with quote

Changed it to:
Code:
      Alias /svn "C:/SVN"
      <Directory "C:/SVN">
         Options Indexes MultiViews
         AllowOverride None
         Order allow,deny
         Allow from all
      </Directory>

Works fine now .. could have sworn I tried that before. All the aliases above were just me testing stuff.

Thanks for the replies.
Back to top
Brian



Joined: 21 Oct 2005
Posts: 209
Location: Puyallup, WA USA

PostPosted: Wed 15 Nov '06 20:04    Post subject: Reply with quote

So I suppose that:
Code:
Alias /svn/ "C:/SVN/"

<Directory "C:/SVN">
     Options Indexes MultiViews
     AllowOverride None
     Order allow,deny
     Allow from all
</Directory>


...would also work?

I have these entries that work fine for my situation:
Code:
Alias /statsicons "r:/xxxx/yyyy/zzzz/dir/icon/"
Alias /stats/ "r:/xxxx/yyyy/zzzz/dir/"


The only change I see is the change in the / slash and the removal of the other alias entries.
Back to top


Reply to topic   Topic: Alias Weirdness - 403 Forbidden View previous topic :: View next topic
Post new topic   Forum Index -> Apache