Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Re: #include visibility on own PC

Reply
Thread Tools

Re: #include visibility on own PC

 
 
DartGuru
Guest
Posts: n/a
 
      10-23-2008
On 23 Oct, 12:28, "rf" <r...@invalid.com> wrote:
> "DartGuru" <alan.go...@bigfoot.com> wrote in message
>
> news:46cb81ff-eb33-4d0a-8d90-...
>
> > Unfortunately, I don't have the option of installing a web server on
> > my PC.

>
> Why? Can't you install software on your PC?
>
> You *look for PHP HOME on google, download it, install it and ten minutes
> later you have apache/mysql/php.


No, as its a work PC on a works intranet.
Installing of inappropriate s/w is a real no no.
 
Reply With Quote
 
 
 
 
Adrienne Boswell
Guest
Posts: n/a
 
      10-23-2008
Gazing into my crystal ball I observed DartGuru <>
writing in
news:d55d53dd-e9ae-4755-a643-:

> On 23 Oct, 12:28, "rf" <r...@invalid.com> wrote:
>> "DartGuru" <alan.go...@bigfoot.com> wrote in message
>>
>> news:46cb81ff-eb33-4d0a-8d90-


>> ...
>>
>> > Unfortunately, I don't have the option of installing a web server
>> > on my PC.

>>
>> Why? Can't you install software on your PC?
>>
>> You *look for PHP HOME on google, download it, install it and ten
>> minut

> es
>> later you have apache/mysql/php.

>
> No, as its a work PC on a works intranet.
> Installing of inappropriate s/w is a real no no.


If it's a work PC, then you could 1) ask you administrator to install
IIS and configure IIS to handle shtml or 2) you could download an SHTML
viewer (Google for one - IIRC softnik makes one)

If this is something that you are doing on a work PC for work, then the
powers that be have to give you the tools to do your job.

Your other option is to install a web server on your home system and you
it as a beta server.

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

 
Reply With Quote
 
 
 
 
Chris F.A. Johnson
Guest
Posts: n/a
 
      10-27-2008
On 2008-10-27, DartGuru wrote:
> Thanks for all the replies, much food for thought on the best way to
> proceed.
>
> I've discovered another problem with my use of:-
><!--#include file="included-bit.htm" -->
> to be included inside mainfile.shtml
>
> On one website on one server this works exactly as you'd expect, but
> on another the entire mailfile.shtml is appearing as text and the
> included file has not been expanded.
>
> Is there something that the one server has switched on that the other
> hasn't?
> I would be very surprised if the problem server does not
> recognise .shtml as it seems to be quite fundamental.
>
> These are both www pages not on my own PC.


Use "virtual=" rather than "file=":

<!--#include virtual="included-bit.htm" -->

While "file=" works in Apache 1.3 (though it is not mentioned in
the documentation), it doesn't work in Apache 2.X.

--
Chris F.A. Johnson, webmaster <http://Woodbine-Gerrard.com>
================================================== =================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
 
Reply With Quote
 
 
 
Reply

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: #include visibility on own PC Jonathan N. Little HTML 2 10-27-2008 12:18 PM
Re: #include visibility on own PC nice.guy.nige HTML 0 10-23-2008 01:34 PM
#include visibility on own PC DartGuru HTML 5 10-23-2008 11:28 AM
I have built my own (simple) thread manager [TM], but just found java 5 has its own. Saverio M. Java 0 07-03-2006 08:52 AM
Using own classloader inside J2EE to load and unload own classes. Stefan Siegl Java 0 09-21-2004 08:11 AM



Advertisments