473,569 Members | 2,572 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can't download from a SubDomain using a Redirect

SQL Version: 2000
OS Version: Server 2003

I've got a sub-domain (test.mydomain. com) that I use for testing. In it I've
got some un-common files available for download (.car extension) along with
some of the usual one (.zip, .doc, etc). The .zip, .doc, etc files download
without a problem but I continually get a 404 error on the .car files even
though they are there and the path is correct. BUT if I change the "test"
part of the URL to "www" the .car file is downloaded.

I've tried adding the .car as a mime type to IIS to no avail and I can't see
anything else that would cause this problem. All SubDomains are pointing to
the root directory with different host headers (depending on subdomain name)
as I'm using DotNetNuke and it redirects to the correct portal depending on
the alias.

Any help/ideas would be appreciated.
Nov 18 '05 #1
1 2078

"one" <on***********@ online.nospam> wrote in message
news:13******** *************** ***********@mic rosoft.com...
It sounds like a configuration issue to me. I am not familiar with DotNetNuke. Maybe you can try their discussion group too. Anyway, what will
happen if you open inetmgr and right click the file you want to download and
select browse? (all done inside inetmgr)
What happens if you setup a similar structure but without using .net nuke? Can you still download the .car file that way?
Sorry to ask back questions. But that could be the path you can try.

HTH


Thanks HTH

I've also posted on the DNN discussion group as well but it really starting
to look like an IIS issue. Browsing to it thru inetmgr gives me the same
result (works off the main site but not the subdomain but other files (.zips
for example) work fine off either.

It's starting to look like I'm going to have to hack my Response.Redire ct so
that it points to the www URL instead of the subdomain.
Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
915
by: Michael Horton | last post by:
SQL Version: 2000 OS Version: Server 2003 I've got a sub-domain (test.mydomain.com) that I use for testing. In it I've got some un-common files available for download (.car extension) along with some of the usual one (.zip, .doc, etc). The .zip, .doc, etc files download without a problem but I continually get a 404 error on the .car files...
2
2389
by: Leon | last post by:
Is it possible to allow my website user's to enter the site using a subdomain name such johndoe.mywebsite.com then a automated script in the Global.asax file within the Application_BeginRequest redirect the user to mywebsite.com/index.aspx?username=johndoe? if so then how? I kind of know how to perform this task with vanity url's such as...
3
2137
by: Maximus | last post by:
I have a registration form, when after registering, the user would get a subdomain http://username.domainname.com I created a wildcard DNS which happened to redirect *.domainname.com to the public_html folder. I need to find a way to redirect eahc subdomain to it's user folder.
1
2482
by: thomas | last post by:
Hello all, It seems like subdomain forwarding prevents ASP.Net session state from working correctly. Example: two websites http://www.jgphotographers.com/test and http://picturestore.newpicturestore.com/test - the first one works - the counter using session state increases every time the button is clicked. The second one uses subdomain...
7
2054
by: clintonG | last post by:
To all Microsoft partners and customers who have been unable to download recently or access ASP.NET documentation from the msdn2 website and for all of those customers who have been lied to and misled by some of the sleazy MVPs and the lying cockroaches that Microsoft has working for the company... Microsoft has serious problems with their...
8
2796
by: stiv | last post by:
I want to give users of my site the option to register for a subdomain redirection service. I scanned the Internet for some script, but didn't really find anything that works. Tried the PHP script from http://opendomains.vnn.bz/ and many others. So now I want to ask you if you know of any script in PHP, Perl, Phyton that can accomplish this...
5
3672
by: Khafancoder | last post by:
Hi guys, i am building a FileSharing website, i wanna allow users to be able using download managers such as DAP to download files from webserver but don't allow them to retrive files url... so i used Response.WriteFile but it won't trigger any download manager such as DAP or FlashGet i used this code :
3
33490
by: a2rodger | last post by:
I am using the following function and parse_url() to attempt to grab the subdomain from my sites url function selfURL() { $s = empty($_SERVER) ? '' : ($_SERVER == "on") ? "s" : ""; $protocol = strleft(strtolower($_SERVER), "/").$s; $port = ($_SERVER == "80") ? "" : (":".$_SERVER); return $protocol."://".$_SERVER.$port.$_SERVER; } function...
6
2376
by: vstud70 | last post by:
Dear friends, I have a website that sells software. In my download page I have a "download" button that once the user clicks it open the windows wizard to /download/save/cancel the software. So far so good. The download itself is down using the response.redirect (url of the file to download), e.g. response.redirect("assets/setup.exe") ...
0
7700
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8125
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7676
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6284
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5513
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5219
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
2114
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1221
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
938
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.