Hi,
Can anybody help me ,
How to direct the users to the login page always ?
I have deployed Mantis on an Apache Server 2.2.4 & the directory structure being
"C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\mantis"
The url to the login page is "http://localhost/mantis/login_page.php".
Now if the user types only "http://localhost/mantis" & clicks on the GO button, he is directed to a page, where he can see the links to all the core PHP files.
I do not want this to happen. I need to customize such that even though the user enter only "http://localhost/mantis/" he should be directed to the Login page.
Please give me the details regarding to which file i have to edit & the path to access that file.
With Advance Thanks,
Polarbear
Always direct the Users to the login page
Moderators: Developer, Contributor
Re: Always direct the Users to the login page
It seems that some files are missing. I recommend you to reinstall Mantis by re-downloading the package.polarbear wrote:Hi,
Can anybody help me ,
How to direct the users to the login page always ?
I have deployed Mantis on an Apache Server 2.2.4 & the directory structure being
"C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\mantis"
The url to the login page is "http://localhost/mantis/login_page.php".
Now if the user types only "http://localhost/mantis" & clicks on the GO button, he is directed to a page, where he can see the links to all the core PHP files.
I do not want this to happen. I need to customize such that even though the user enter only "http://localhost/mantis/" he should be directed to the Login page.
Please give me the details regarding to which file i have to edit & the path to access that file.
With Advance Thanks,
Polarbear
Want more plugins to customize Mantis?
=> http://deboutv.free.fr/mantis/
Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
=> http://deboutv.free.fr/mantis/
Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
Hi,
Do you have an index.php file in your Mantis directory?
Do you have an index.php file in your Mantis directory?
Want more plugins to customize Mantis?
=> http://deboutv.free.fr/mantis/
Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
=> http://deboutv.free.fr/mantis/
Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
Hi..
index.php is available in the Mantis folder.
How does this file is going to help me?
Because this file takes care of authenticating a user.
But i need a solution for redirecting the user always to the login page even though he enters "http://localhost/mantis" url.
Right now the user is directed to a page where he can see the links for all the PHP files in the Mantis directory when he enters the above url.
Can anyone help me?
Cheers,
Polarbear
index.php is available in the Mantis folder.
How does this file is going to help me?
Because this file takes care of authenticating a user.
But i need a solution for redirecting the user always to the login page even though he enters "http://localhost/mantis" url.
Right now the user is directed to a page where he can see the links for all the PHP files in the Mantis directory when he enters the above url.
Can anyone help me?
Cheers,
Polarbear
In the Apache configuration file, add index.php to the DirectoryIndex value.
By example in my Apache configuration file I have:
By example in my Apache configuration file I have:
Code: Select all
DirectoryIndex index.html index.html.var index.php index.php3 index.shtml index.cgi index.pl index.htm Default.htm default.htm index.xmlWant more plugins to customize Mantis?
=> http://deboutv.free.fr/mantis/
Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
=> http://deboutv.free.fr/mantis/
Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux