Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

alias and htaccess bypass

5:30 am on Feb 9, 2013 (gmt 0)

New User

joined:July 16, 2012
votes: 0

Let's say I have mysite.com/folder and it's .htaccess forces you to login.

I have an alias created for mysite.com/alias that is an alias of mysite.com/folder

Is there a way I can make it so that people going to mysite.com/alias, don't have to login through the .htaccess in mysite.com/folder?

I tried this, but it did nothing.

<directory "alias">
allowoverride all
6:44 am on Feb 9, 2013 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member lucy24 is a WebmasterWorld Top Contributor of All Time Top Contributors Of The Month

joined:Apr 9, 2011
votes: 244

"alias" is not a Directory, it is a Location.

Don't look at me. I didn't make up this terminology; Apache did.

Directory (and also Location) can only be used in the config file. Is it your own server? If so, why are you futzing around with htaccess? If not, what are you doing with a Directory statement?

:: insert "I am confused" emoticon here ::