Re: php?
- From: "Dean Collins" <collins_dean"spam-me-here"@hotmail.com>
- Date: Sun, 29 May 2005 16:30:51 GMT
ok, I've just understood how to make subsites
my root is now
http://collinsserver1/collins.net
and my 2nd site is
http://collinsserver1/subsite
and my 3rd site is
http://collinsserver/subsite2
is this more safer than having them as folders of the root?
Also does this mean i can run php on the subsites while not affecting the
root site? as this website seems to indicate otherwise.
http://office.microsoft.com/en-au/assistance/HA011092991033.aspx
Create pages that contain PHP scripts
When you use PHP with FrontPage 2003, you create the overall Web page design
and insert any fixed elements by using Design view in FrontPage. You can
then write the HTML code that contains the variable portion of each PHP
response in Code view. Of course, when you are laying out the Web page
design, you may want to create placeholders to indicate where the variable
output should appear, so that you can easily locate where you want to add
the PHP script.
PHP scripts must reside in an executable directory. For reasons of security
and resource consumption, many server administrators tightly control access
to such directories. If you do not administer your own Web server, you need
permission from the server administrator to run server-side scripts.
Change settings in FrontPage 2003
Before you can use PHP with FrontPage 2003, you must make the following
changes to settings in FrontPage:
Disable features that require the FrontPage Server Extensions
If the Web server that runs your PHP pages has the FrontPage Server
Extensions from Microsoft installed, do the following:
1.. On the Tools menu, click Page Options, and then click the Authoring
tab.
2.. Under FrontPage and SharePoint technologies, clear the SharePoint
Services and Browse-time Web Components check boxes.
Disable features that create ASP or ASP.NET code
If the Web server that runs your PHP pages can also run ASP, do the
following:
1.. On the Tools menu, click Page Options, and then click the Authoring
tab.
2.. Under Browsers, clear the Active Server Pages check box.
Enable and use ASP-style <% %> code delimiters
Do the following:
1.. Open the php.ini (The master configuration file for PHP that you can
customize to help you control the way PHP works on your site) file on the
Web server, and set asp_tags="1".
2.. Use ASP-like <% and %> tags instead of the <? php?> tags. This stops
FrontPage from reformatting your PHP code.
Note As an alternative, you can use <script language="php"> and </script>
tags instead of <? php?> tags.
Configure PHP file extensions to open in Design view
1.. On the Tools menu, click Options, and then click the Configure Editors
tab.
2.. In the Extensions list, locate and select the file extension that you
want to use.
3.. In the Editors list, select FrontPage (Open as HTML).
Click Make Default.
If the extension that you want does not appear, you must add it.
How?
1.. Click the New Extension button (or press ALT+N), located above the
Extensions list.
2.. In the Open With dialog box, type the file extension that you want in
the Extension box.
3.. Select FrontPage (Open as HTML), and then click OK.
thanks very much for your assistance.
Dean
"Dean Collins" <collins_dean"spam-me-here"@hotmail.com> wrote in message
news:Dklme.14798$IX4.6623@xxxxxxxxxxxxxxxxxxxxx
>I have 2 web sites installed now, this will be a third but it is only a
> folder of wwroot as the other 2 are.
>
> How do I install a totally seperate web site?
>
> my current websites are on http://collinsserver1/collins.net which is
> wwwroot
>
> and http://collinsserver1/family.net which is wwwroot/family
>
> I can install it on a seperate server on my lan if this is best but I dont
> understand why this is safer than hosting it on my sbs2003 server.
>
> tia,
> Dean
>
>
> "Mariette Knap [SBS MVP]" <mariette@xxxxxxxxxxxxxxxxxxxx> wrote in message
> news:eKe3m%23FZFHA.3364@xxxxxxxxxxxxxxxxxxxxxxx
>> In news:pchme.2640$XB2.969958@xxxxxxxxxxxxxxxxxx,
>> Dean Collins" <collins_dean"spam-me-here
>> <collins_dean"spam-me-here"@hotmail.com> wrote:
>>
>>> I didn't realise it wasn't something already installed.
>>>
>>> I've been trying to find information in the sbs groups but turning up
>>> a blank. Do you ahve a URL you can suggest?
>>
>> Be carefull with installing php. You should NOT install that on the
>> default website, create a new site for that.
>>
>> --
>> Mariëtte Knap
>> Microsoft SBS-MVP
>> One of the Magical M&M's
>> www.smallbizserver.net
>> Take part in SBS forum:
>> http://www.smallbizserver.net/Default.aspx?tabid=53
>>
>
>
begin 666 bluedrop.gif
M1TE&.#EA#@`*`,03```=B0``_Z6E[KVZ\JFFXPPHC]#.]@<`W]_A\00`Z@8`
MXI65_]#0_QT5VR0=VXN+_YJ:_[>W_________P``````````````````````
M`````````````````````````"'Y! $``!,`+ `````.``H```4LX"2.9&F>
IJ%D`;,L6).) R\-(48.4QA'\@8/A-%#\%(.4()$0I$0$PG,Z"0$`.P``
`
end
begin 666 default.aspx?AssetID=ZA790050001033
M1TE&.#EA#@`*`,03```=B0``_Z6E[KVZ\JFFXPPHC]#.]@<`W]_A\00`Z@8`
MXI65_]#0_QT5VR0=VXN+_YJ:_[>W_________P``````````````````````
M`````````````````````````"'Y! $``!,`+ `````.``H```4K8(%,9&F2
K0&.<+! =`VL"4J (,LH$04+D@ ?/!US8<$ (+(=RK)@3$904`@`[````````
`
end
.
- References:
- Prev by Date: Re: SBS 2003 SP1 installation seems to be stuck in loop
- Next by Date: Re: RWW Problem
- Previous by thread: Re: php?
- Next by thread: Windows Firewall / ICS
- Index(es):
Loading