Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

virtual doesn't work on local host

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Next:  You are not authorized to view this page - Error ..  
Author Message
jmev7

External


Since: Feb 28, 2006
Posts: 3



(Msg. 1) Posted: Mon Jun 12, 2006 7:12 pm
Post subject: virtual doesn't work on local host
Archived from groups: microsoft>public>inetserver>iis (more info?)

This line works fine on the webhost:

<!-- #include virtual="/includes/mycode.inc" -->

but it won't work on the local testing machine (my development PC).
Ironically, this does work:

<!--include file="../../../includes/verifylogin.inc"-->

What gives? How can I make my local host work like the server?

Thanks

 >> Stay informed about: virtual doesn't work on local host 
Back to top
Login to vote
mortb

External


Since: Jun 13, 2006
Posts: 5



(Msg. 2) Posted: Tue Jun 13, 2006 10:27 am
Post subject: Re: virtual doesn't work on local host [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

It's been some four years since I did this, but as I remeber when you start
your include paths with a slash they reference a virtual application which
has to be present under the web site root.
Is this virtual applicaiton "includes" present on your local machine?

cheers,
mortb

"jmev7" <jmev7 DeleteThis @nospam.com> wrote in message
news:e6kvtl$f7gs$2@news3.infoave.net...
> This line works fine on the webhost:
>
> <!-- #include virtual="/includes/mycode.inc" -->
>
> but it won't work on the local testing machine (my development PC).
> Ironically, this does work:
>
> <!--include file="../../../includes/verifylogin.inc"-->
>
> What gives? How can I make my local host work like the server?
>
> Thanks
>
>
>

 >> Stay informed about: virtual doesn't work on local host 
Back to top
Login to vote
jmev7

External


Since: Feb 28, 2006
Posts: 3



(Msg. 3) Posted: Tue Jun 13, 2006 10:27 am
Post subject: Re: virtual doesn't work on local host [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Yes, in fact, the entire includes folder is copied to my site. I have
matching paths, so all should work the same, and it all does, until I use
includes.


"mortb" <mortb RemoveThis @nospam.nospam> wrote in message
news:e3FJvMsjGHA.1508@TK2MSFTNGP04.phx.gbl...
> It's been some four years since I did this, but as I remeber when you
> start your include paths with a slash they reference a virtual application
> which has to be present under the web site root.
> Is this virtual applicaiton "includes" present on your local machine?
>
> cheers,
> mortb
>
> "jmev7" <jmev7 RemoveThis @nospam.com> wrote in message
> news:e6kvtl$f7gs$2@news3.infoave.net...
>> This line works fine on the webhost:
>>
>> <!-- #include virtual="/includes/mycode.inc" -->
>>
>> but it won't work on the local testing machine (my development PC).
>> Ironically, this does work:
>>
>> <!--include file="../../../includes/verifylogin.inc"-->
>>
>> What gives? How can I make my local host work like the server?
>>
>> Thanks
>>
>>
>>
>
>
 >> Stay informed about: virtual doesn't work on local host 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Virtual host can't work after install Frontpage Extension .. - Dear all: I've setup the virtual host for my website. And after I install Frontpage Extension Server2002, then it not work anymore. I've try to remove Frontpage Extension Server 2002, but virtual host still not work. What should I do to solve this..

not able to get local host - When i type http://localhost on IE6.0 it says "HTTP 500 - Internal server error Internet Explorer" can you help me to solve this problem

IIS & Local Host - Hi, In developing IIS/ASP apps mostly using a single machine as local host, I'm having to do things like disable script blocking in Norton AV and lowering security settings in Zone Alarm Pro, etc. So I thought I would try disconnecting this machine from...

date doesn';t match - Hi The dat in log file doesn't match with my system date, how to fix it? here is my log: 14:33:48 218.103.239.54 GET /diamond.swf 304 thanks from Peter (cmk128@hotmail.com)

IIS 5.1/I cannot open local host - Hi everyone, when I try to open http://localhost this meesage appear:"The page cannot be displayed".I log in as administrator. I have the same problem with contents of "help and support" center in winxp Pro.I am not connected to any n...
   Web Hosting and Web Master Forums (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]