HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 27th, 1999, 06:32 AM
MartinSadler
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Hi,

I'm trying to produce a Web Site that will produce local and external views depending on where the user is from and which directory they are in. The site is running on Apache. I also have perl and mySQL at my disposal. Ideally the external and local directories/views should be transparent to the user. Such that:
http://www.mysite.com/info/
would refer to either
http://www.mysite.com/info/local
or
http://www.mysite.com/info/external

I've tried to solve this by protecting the
local dir with a .htaccess. And redirecting
on an errorDocument Apache command but this
doesn't work with relative dirs. I think
maybe what I need to use is the rewrite module in Apache and am hoping that maybe
someone else has had a similar experience
who could point me in the right direction.

Thanks,
Martin.
PS: Recap:
Directories may be either:
- viewable by all
- external only
- local only
- local & external

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > Local & External views


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway