[advanced search]
 

Go Back   NamePros.com > Discussion > Web Design & Development > Programming

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.


Closed Thread
 
LinkBack Thread Tools
Old 01-03-2007, 11:17 AM   #1 (permalink)
Senior Member
 
sf2010's Avatar
 
Join Date: Sep 2006
Posts: 1,039
3,075.00 NP$ (Donate)

sf2010 is a splendid one to beholdsf2010 is a splendid one to beholdsf2010 is a splendid one to beholdsf2010 is a splendid one to beholdsf2010 is a splendid one to beholdsf2010 is a splendid one to beholdsf2010 is a splendid one to beholdsf2010 is a splendid one to behold


redirected URL showing incorrectly

hi guys-

i have a basic question re: URL redirects. Here is my setup:

abcompany.com has been developed which has:

1) index.html at the root directory;
2) A folder called "images" where the flash content is stored

abcompanyinc.com has not been developed

1) I used a "Redirect to URL" feature to redirect to abcompany.com

Typing the abcompanyinc.com in the browser does not show the splash page at the abcompany.com . Instead, it's showing a simple unix folder structure which has:
1) Parent Directory;
2) cgi-bin

If I click on the cgi-bin link, the browser shows the splash page?

I thought redirect will simply show the index page of the receving domain name? When I redirect, should I send to a specific file?

Can someone help me?

Thanks!

Kevin
sf2010 is offline  
Old 01-03-2007, 12:41 PM   #2 (permalink)
NamePros Regular
 
Join Date: Jul 2006
Location: England
Posts: 721
11.75 NP$ (Donate)

chicker is a name known to allchicker is a name known to allchicker is a name known to allchicker is a name known to allchicker is a name known to allchicker is a name known to all

Save The Children
Do you have an index file on abcompanyinc.com or abcompany.com
chicker is offline  
Old 01-03-2007, 01:47 PM   #3 (permalink)
Account Closed
 
B33R's Avatar
 
Join Date: Mar 2006
Location: UK
Posts: 1,962
0.00 NP$ (Donate)

B33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud of

Cancer
Sounds like abcompany.com needs a .htaccess file with this written in it.
Code:
DirectoryIndex index.html
The file needs to just be called .htaccess and placed in the root directory (same place as the index.html file)

Not quite sure about the "If I click on the cgi-bin link, the browser shows the splash page?" though.
B33R is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Site Sponsors
Advertise your business at NamePros

All times are GMT -7. The time now is 03:34 PM.


Powered by: vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Template-Modifications by TMS
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85