Scripts
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb Site ManagementScripts

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:
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
  #1  
Old March 22nd, 2005, 01:27 PM
ga51279 ga51279 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2005
Posts: 1 ga51279 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 19 m 9 sec
Reputation Power: 0
How to make 1 website share 2 urls

I know there is a script but cannot remember the script. I have one page on my primary website, which is a login page for clients that I want to use for another website also. The problem is, I want the url at the top to say the url that the client logs in at on the secondary website so that way they never know that they are actually logging in to the primary website that I am wanting to share the same sql databse for both websites but not the same primary url. I keep trying to do it and everything looks find until they actually login, as soon as they login the secondary url turns in to the primary url giving it away.

Reply With Quote
  #2  
Old March 23rd, 2005, 04:14 AM
Corey Bryant Corey Bryant is offline
Texan at Heart
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: Castle Rock, CO
Posts: 312 Corey Bryant User rank is Sergeant (500 - 2000 Reputation Level)Corey Bryant User rank is Sergeant (500 - 2000 Reputation Level)Corey Bryant User rank is Sergeant (500 - 2000 Reputation Level)Corey Bryant User rank is Sergeant (500 - 2000 Reputation Level)Corey Bryant User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 13 h 45 m 40 sec
Reputation Power: 14
You can use frames.

Reply With Quote
  #3  
Old March 23rd, 2005, 05:11 AM
FunServers FunServers is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 1 FunServers User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 12 m 56 sec
Reputation Power: 0
Quote:
Originally Posted by Corey Bryant
You can use frames.


Yes that would work if you are wanting to share one sql

Reply With Quote
  #4  
Old March 24th, 2005, 07:27 AM
Techie's Avatar
Techie Techie is offline
Proud Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2002
Posts: 104 Techie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 h 25 m 52 sec
Reputation Power: 7
Using "frames" is one way, although the status bar of the browser might reveal the first domain's path while loading your page(s).

If you have access to Apache's configuration file, you could set the "DocumentRoot" directive to share the www folder of the first domain with your second domain. That ways, you have only one set of files in the first domain's www area, while at the same time you're also running the second domain but merely serving files off the www area of the first domain.

Hope this helps!

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb Site ManagementScripts > How to make 2 websites share one url


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 5 hosted by Hostway