Setting default page

How do I set the default view when URI matching was not successful?

In site.ini, under [siteSettings]:

# Which page to show when the root index is accessed

IndexPage=/content/view/sitemap/2/

 

# What to do when a module does not exists, use either defaultpage or displayerror

ErrorHandler=displayerror

DefaultPage=/content/view/sitemap/2/

 

# Default access is needed when uri type matching is done, this is

# because with empty urls it's not possible to fetch the access

DefaultAccess=

So, you can set DefaultPage and DefaultAccess to match your needs.

Comments

Log in or create a user account to comment.

Contents

Configuration

Configuration
    WebDAV setup
    Exponential running on a CGI version o...
    Path prefix
    Locale Settings
    Introduction
    Configuration files
    Site access
    Common settings
    Multi Site
    Directory structure
    Language and charset
    Cron jobs
    Login handler
    Search engine
    Tips & Tricks
       Manual "modfix"
       Several sites with one installation
       Enable / disable the setup wizard
       Determine if user has to log in
       Change the name of the main script
       Setting default page
       Setting the path to the var directory
       File permissions
       Defining design resources
       Exclude URIs from rewrite
Security
Optimization
Backup & Restore
Troubleshooting


Created

11/04/2003
2:39:25 pm
by Gunnstein Lye

Last updated

07/07/2003
10:01:35 am
by B�rd Farstad

Authors

Gunnstein Lye
B�rd Farstad



This page is part of the Exponential documentation. The documentation is available under the GNU Free Documentation License. All contributions will be released under the terms of this license.