CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 Html templates

Print topic Send  topic

Author Message
Mate
Posted: 12/15/2003, 12:19 AM

Just trying this wonderfull tool. I have produced plenty handy apps in my
intranet enviroment with trial CSS .
One thing bother me.
If I have first page default.html and default.php (or index pair), most
servers are set to read htm/html before php or whatelese. So, if case,
template page will always read first.

My first idea was to make dummy index.php page with following code:

<?php
include("real_home_page.php");
?>
This works fine so far.
Wondering if somebody has any remarks or any better idea?
Drazen

Don Safar
Posted: 12/15/2003, 10:21 AM

This is a multi-part message in MIME format.

------=_NextPart_000_0080_01C3C305.C8E576C0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

It depends on your web server. If you are using apache you can use a =
..htaccess file to control directory order (create one line in the =
..htaccess file that looks like the following:
DirectoryIndex index.php default.php index.html
If you are using IIS, select website then properties, then the documents =
tab. Check Enable Default Document and add any you want to use, then =
arrange in order you want to have IIS look for them.

"Mate" <drazen@blato.hr> wrote in message =
news:brjqqs$o2v$1@news.codecharge.com...
> Just trying this wonderfull tool. I have produced plenty handy apps in =
my
> intranet enviroment with trial CSS .
> One thing bother me.
> If I have first page default.html and default.php (or index pair), =
most
> servers are set to read htm/html before php or whatelese. So, if case,
> template page will always read first.
>=20
> My first idea was to make dummy index.php page with following code:
>=20
> <?php
> include("real_home_page.php");
> ?>
> This works fine so far.
> Wondering if somebody has any remarks or any better idea?
> Drazen
>=20
>
------=_NextPart_000_0080_01C3C305.C8E576C0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1276" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>It depends on your web server. If you =
are using=20
apache you can use a .htaccess file to control directory order (create =
one line=20
in the .htaccess file that looks like the following:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><STRONG>DirectoryIndex index.php =
default.php=20
index.html</STRONG></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>If you are using IIS, select website =
then=20
properties, then the documents tab. Check Enable Default Document and =
add any=20
you want to use, then arrange in order you want to have IIS =
look for=20
them.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>"Mate" <</FONT><A=20
href=3D"mailto:drazen@blato.hr"><FONT face=3DArial=20
size=3D2>drazen@blato.hr</FONT></A><FONT face=3DArial size=3D2>> =
wrote in message=20
</FONT><A href=3D"news:brjqqs$o2v$1@news.codecharge.com"><FONT =
face=3DArial=20
size=3D2>news:brjqqs$o2v$1@news.codecharge.com</FONT></A><FONT =
face=3DArial=20
size=3D2>...</FONT></DIV><FONT face=3DArial size=3D2>> Just trying =
this wonderfull=20
tool. I have produced plenty handy apps in my<BR>> intranet =
enviroment with=20
trial CSS .<BR>> One thing bother me.<BR>> If I have first page=20
default.html and default.php (or index pair), most<BR>> servers are =
set to=20
read htm/html before php or whatelese. So, if case,<BR>> template =
page will=20
always read first.<BR>> <BR>> My first idea was to make dummy =
index.php=20
page with following code:<BR>> <BR>> <?php<BR>>=20
include("real_home_page.php");<BR>> ?><BR>> This works fine so=20
far.<BR>> Wondering if somebody has any remarks or any better =
idea?<BR>>=20
Drazen<BR>> <BR>> </FONT></BODY></HTML>

------=_NextPart_000_0080_01C3C305.C8E576C0--
Mate
Posted: 12/16/2003, 4:23 AM

This is a multi-part message in MIME format.

------=_NextPart_000_0030_01C3C3D8.300E4660
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Stupied me!

of course... Don. You have right.
Tnx
Drazen
"Don Safar" <donsafar_remove_@hotmail.com> wrote in message =
news:brku2f$33b$1@news.codecharge.com...
It depends on your web server. If you are using apache you can use a =
..htaccess file to control directory order (create one line in the =
..htaccess file that looks like the following:
DirectoryIndex index.php default.php index.html
If you are using IIS, select website then properties, then the =
documents tab. Check Enable Default Document and add any you want to =
use, then arrange in order you want to have IIS look for them.

"Mate" <drazen@blato.hr> wrote in message =
news:brjqqs$o2v$1@news.codecharge.com...
> Just trying this wonderfull tool. I have produced plenty handy apps =
in my
> intranet enviroment with trial CSS .
> One thing bother me.
> If I have first page default.html and default.php (or index pair), =
most
> servers are set to read htm/html before php or whatelese. So, if =
case,
> template page will always read first.
>=20
> My first idea was to make dummy index.php page with following code:
>=20
> <?php
> include("real_home_page.php");
> ?>
> This works fine so far.
> Wondering if somebody has any remarks or any better idea?
> Drazen
>=20
>
------=_NextPart_000_0030_01C3C3D8.300E4660
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1226" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>
<DIV><FONT face=3DArial size=3D2>Stupied me!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>of course... Don. You have =
right.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Tnx</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Drazen</FONT></DIV></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Don Safar" <<A=20
=
href=3D"mailto:donsafar_remove_@hotmail.com">donsafar_remove_@hotmail.com=
</A>>=20
wrote in message <A=20
=
href=3D"news:brku2f$33b$1@news.codecharge.com">news:brku2f$33b$1@news.cod=
echarge.com</A>...</DIV>
<DIV><FONT face=3DArial size=3D2>It depends on your web server. If you =
are using=20
apache you can use a .htaccess file to control directory order (create =
one=20
line in the .htaccess file that looks like the following:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><STRONG>DirectoryIndex index.php =
default.php=20
index.html</STRONG></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>If you are using IIS, select website =
then=20
properties, then the documents tab. Check Enable Default Document and =
add any=20
you want to use, then arrange in order you want to have IIS =
look for=20
them.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>"Mate" <</FONT><A=20
href=3D"mailto:drazen@blato.hr"><FONT face=3DArial=20
size=3D2>drazen@blato.hr</FONT></A><FONT face=3DArial size=3D2>> =
wrote in message=20
</FONT><A href=3D"news:brjqqs$o2v$1@news.codecharge.com"><FONT =
face=3DArial=20
size=3D2>news:brjqqs$o2v$1@news.codecharge.com</FONT></A><FONT =
face=3DArial=20
size=3D2>...</FONT></DIV><FONT face=3DArial size=3D2>> Just trying =
this=20
wonderfull tool. I have produced plenty handy apps in my<BR>> =
intranet=20
enviroment with trial CSS .<BR>> One thing bother me.<BR>> If I =
have=20
first page default.html and default.php (or index pair), most<BR>> =
servers=20
are set to read htm/html before php or whatelese. So, if case,<BR>> =

template page will always read first.<BR>> <BR>> My first idea =
was to=20
make dummy index.php page with following code:<BR>> <BR>>=20
<?php<BR>> include("real_home_page.php");<BR>> ?><BR>> =
This=20
works fine so far.<BR>> Wondering if somebody has any remarks or =
any better=20
idea?<BR>> Drazen<BR>> <BR>> =
</FONT></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0030_01C3C3D8.300E4660--

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.