CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Setting My Default Page as the Home Page

Print topic Send  topic

Author Message
langron

Posts: 19
Posted: 03/09/2004, 5:39 PM

I have created a simple test project (myproject) containing two pages. One of the two pages is named, "Default". I clicked on the project name in Project Explorer, and then I clicked on the Data Tab in the Properties Window. I set the Home Page property to Default.ccp so that my browser will automatically load the Default page when I specify http://localhost/myproject in my Internet Explorer browser. But I get the following error:

Directory Listing Denied
This Virtual Directory does not allow contents to be listed.

Can someone tell me why I'm getting this error? Do I need to do something else in my project setup?

Thanks - Ron L
View profile  Send private message
Tom
Posted: 03/10/2004, 7:17 AM

If this is asp or asp.net, CCS doesn't like and I thought would not allow you to use name default. I had to create my default.aspx page outside of ccs and just have it redirect to the start page.
langron

Posts: 19
Posted: 03/10/2004, 8:07 AM

Thanks for your reply. Acutally, I'm using PHP. Any suggestions how to handle this type of home page?
View profile  Send private message
Don Safar
Posted: 03/10/2004, 11:20 AM

Are you using IIS or Apache? If IIS, then bring up IIS admin in control
panel - administrative tools. Click on Default Web Site then properties in
the toolbar. Click on the Documents tab. Add default.php and position it
where you want (make sure it is above default.htm or default.html). When you
installed php it should have added index.php to this list. IIS will parse
the list in order looking for you default document. It will display the
first one that it finds in the list. If you are using Apache, you can put a
..htaccess file in the root directory of your website that specifies the
document search order or you can specify the DirectoryIndex in the
httpd.conf file ( http://httpd.apache.org/docs/mod/mod_dir.html ) . Hope
this helps.
langron

Posts: 19
Posted: 03/11/2004, 10:30 AM

Thanks, I just applied your suggestion and it solved my problem. I'm sorry I missed your reply earlier.
View profile  Send private message
jim
Posted: 05/01/2004, 3:49 AM

Quote langron:
Hi my name is langron also !8-)
Directory Listing Denied
This Virtual Directory does not allow contents to be listed.

Can someone tell me why I'm getting this error? Do I need to do something else in my project setup?

Thanks - Ron L

8-)
DonB
Posted: 05/03/2004, 9:32 PM

Each web server has (or should have) a page designated as the "default" (for
when you don't explicitly provide it: index.php, default.asp or whatever.
Just be sure that you create the initial page with this name and there will
be no problem. Well, one potential one: Some ISPs have been known to set
the "search order" (for multiple-choice default pages) to index.html first,
this interferes with situations where you want the "code" page (e.g.,
index.php) to execute. With CCS, "index.html" would represent the template
for the php page and the page won't work if it loads the template instead of
the code. Pretty rare, but it's happened.

--
DonB

http://www.gotodon.com/ccbth

Add new topic Subscribe to topic   


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

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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