Author |
Message |
Rovetto Stefa #1 / 12
|
 ONE included file in 30 different domains ...
Hi I like to use only one file, which I can include in all my ASP files in all domain, like <!-- #include file=" http://www.*-*-*.com/ ; --> But this line abouth doesn't work. I tried both include file ... include virtual but... shits happen. Mmh ... Any idea? Thanks great for your answer.
|
Sat, 05 Apr 2003 03:00:00 GMT |
|
 |
Adrian Forbe #2 / 12
|
 ONE included file in 30 different domains ...
#include lifts the file off of your local file system, it doesn't know how to get the file over HTTP. What you are doing is like trying to run notepad.exe http://www.server.com/file.txt
Quote: > Hi > I like to use only one file, which I can include in all my ASP files in all > domain, like > <!-- #include file="http://home.mydomain.com/logon.asp" --> > But this line abouth doesn't work. I tried both include file ... include > virtual but... shits happen. Mmh ... > Any idea? > Thanks great for your answer.
|
Sat, 05 Apr 2003 03:00:00 GMT |
|
 |
Jim Le #3 / 12
|
 ONE included file in 30 different domains ...
Quote: > #include lifts the file off of your local file system, it doesn't know how > to get the file over HTTP. What you are doing is like trying to run > notepad.exe http://www.server.com/file.txt
true, but it's also like running: powerpoint.exe http://www.server.com/file.ext which I'm sure you know does work, there's no inherent reason why it shouldn't work, after all it does with many other implementations of SSI on different web servers. Jim.
|
Sat, 05 Apr 2003 03:00:00 GMT |
|
 |
bria #4 / 12
|
 ONE included file in 30 different domains ...
Try HTTP component from www.serverobjects.com which pulls the result of the page to your remote site.
Quote: > Hi > I like to use only one file, which I can include in all my ASP files in all > domain, like > <!-- #include file="http://home.mydomain.com/logon.asp" --> > But this line abouth doesn't work. I tried both include file ... include > virtual but... shits happen. Mmh ... > Any idea? > Thanks great for your answer.
|
Sat, 05 Apr 2003 03:00:00 GMT |
|
 |
Adrian Forbe #5 / 12
|
 ONE included file in 30 different domains ...
Quote: > true, but it's also like running: > powerpoint.exe http://www.server.com/file.ext > which I'm sure you know does work, there's no inherent reason why it > shouldn't work, after all it does with many other implementations of SSI on > different web servers.
That cos PowerPoint implements HTTP whereas notepad (and IIS's include function) does not. Is it technically possible? Yes, if it's been programmed in. It hasn't been programmed into notepad and it hasn't been programmed into #include.
|
Sat, 05 Apr 2003 03:00:00 GMT |
|
 |
Neil Highle #6 / 12
|
 ONE included file in 30 different domains ...
Try <!--#include virtual=""--> but create a virtual directory in IIS pointing to your include library, calling it something quite unique, like _virtualincludes but the virtual directory will have to link to a physical drive an the only way you can do this is by mapping a network drive to your second server first then browsing to the appropriate directory. (see VPNs or WAN) The Networking involved will be very unweildy to a novice network admin. You're better off just using source control and publishing the same page twice when its updated. If you are trying to illegally link to cgi script, then get outa here you little scamp! ):-[ -- Neil Highley
Internet Development Fifth-Dimension Productions Limited (UK) ------------------------------------------------------- We can't solve problems by using the same kind of thinking we used when we created them. -Albert Einstein (1879-1955) -------------------------------------------------------
Quote: > Hi > I like to use only one file, which I can include in all my ASP files in all > domain, like > <!-- #include file="http://home.mydomain.com/logon.asp" --> > But this line abouth doesn't work. I tried both include file ... include > virtual but... shits happen. Mmh ... > Any idea? > Thanks great for your answer.
|
Sat, 05 Apr 2003 03:00:00 GMT |
|
 |
Jim Le #7 / 12
|
 ONE included file in 30 different domains ...
Quote: > If you are trying to illegally link to cgi script, then get outa here you > little scamp!
Illegally? I think that would be difficult to prove, if you put a website up, you are inviting HTTP requests, if it's a form, then you're inviting get/post requests, you're only going to be able to limit that by some form of contractual arrangement between you and the (human) controller of the user agent involved, with that contractual arrangement in place, then you could be liable in the UK under the computer misuse act, but I can't see any other way of being illegal, of course any misrepresentation etc. would be a civil offence, but certainly not an illegal act. Jim.
|
Sat, 05 Apr 2003 03:00:00 GMT |
|
 |
#8 / 12
|
 ONE included file in 30 different domains ...
|
Fri, 19 Jun 1992 00:00:00 GMT |
|
 |
Rovetto Stefa #9 / 12
|
 ONE included file in 30 different domains ...
Hi folks thanks a lot for your help. I remember, that a long time bevore I had a similar problem. Even I have a technical problem, I make a result homepage. Here it is ... http://template.designo.ch/iscript/asp/example/include/mydoc.asp This is a wonderful example. A company can make thousends of content documents, but needs only one menu template. In the content documents there's nothing. Only one line at top of the document. Enjoy. Blessing Steve (http://contact.designo.ch)
Quote: > Hi > I like to use only one file, which I can include in all my ASP files in all > domain, like > <!-- #include file="http://home.mydomain.com/logon.asp" --> > But this line abouth doesn't work. I tried both include file ... include > virtual but... shits happen. Mmh ... > Any idea? > Thanks great for your answer.
|
Sun, 06 Apr 2003 03:00:00 GMT |
|
 |
#10 / 12
|
 ONE included file in 30 different domains ...
|
Fri, 19 Jun 1992 00:00:00 GMT |
|
 |
Brett Hil #11 / 12
|
 ONE included file in 30 different domains ...
Let's not confuse what's legal with what's ethical. Your argument about putting up a form is inviting a post, is like saying putting a door on a house is invitation to walk in. -brett -- ----------------------------------------------- Brett Hill MCSE, MCT MCP+I A+ Network+ CIW TT IIS 5 FastTrack Training: Install, harden, administer and optimize IIS 5 - Hands-on. See www.ultimateiis.com for class schedule and details.
Quote:
> > If you are trying to illegally link to cgi script, then get outa here you > > little scamp! > Illegally? I think that would be difficult to prove, if you put a website > up, you are inviting HTTP requests, if it's a form, then you're inviting > get/post requests, you're only going to be able to limit that by some form > of contractual arrangement between you and the (human) controller of the > user agent involved, with that contractual arrangement in place, then you > could be liable in the UK under the computer misuse act, but I can't see any > other way of being illegal, of course any misrepresentation etc. would be a > civil offence, but certainly not an illegal act. > Jim.
|
Mon, 07 Apr 2003 14:23:59 GMT |
|
 |
Michel Thiffaul #12 / 12
|
 ONE included file in 30 different domains ...
I think they implemented HTTP files in Notepad (Windows 2000 only). I remember that it even receive rendered HTML from ASP files!
Quote: > > true, but it's also like running: > > powerpoint.exe http://www.server.com/file.ext > > which I'm sure you know does work, there's no inherent reason why it > > shouldn't work, after all it does with many other implementations of SSI > on > > different web servers. > That cos PowerPoint implements HTTP whereas notepad (and IIS's include > function) does not. Is it technically possible? Yes, if it's been > programmed in. It hasn't been programmed into notepad and it hasn't been > programmed into #include.
|
Fri, 11 Apr 2003 03:00:00 GMT |
|
|