homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

alias and htaccess bypass

Msg#: 4544070 posted 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



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

Msg#: 4544070 posted 6:44 am on Feb 9, 2013 (gmt 0)

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

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved