Welcome to WebmasterWorld Guest from 54.234.63.187

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

alias and htaccess bypass

     

PremiumSaltine

5:30 am on Feb 9, 2013 (gmt 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
</directory>

lucy24

6:44 am on Feb 9, 2013 (gmt 0)

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



"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 ::
 

Featured Threads

Hot Threads This Week

Hot Threads This Month