Search found 20 matches

by gravyface
18 Aug 2006, 20:48
Forum: Help
Topic: Blank page after login
Replies: 6
Views: 9334

in the directory root, there's an index.php which redirects to the login page or the main page if you're authenticated. What happens if you request
http://www.yoursite.com/index.php directly?

I'd check your apache logs and see what's up.
by gravyface
18 Aug 2006, 03:01
Forum: Help
Topic: caching in Mantis
Replies: 3
Views: 4826

You can also enable $g_use_persistent_connections in config_inc.php, but this depends if it's the connection itself that's expensive (perhaps you're running MySQL on a different server across a busy network?) or if there are alot of concurrent users, etc.

for more info on db conn persistence in PHP ...
by gravyface
17 Aug 2006, 22:10
Forum: Help
Topic: Where is the path for the link in password change emails?
Replies: 25
Views: 24266

np. Now if only somebody would reply to my permissions/category post. :(
by gravyface
17 Aug 2006, 19:10
Forum: Help
Topic: Where is the path for the link in password change emails?
Replies: 25
Views: 24266


Can I specify those php variables somewhere in the Apache Config?


They should be pulling them from ServerName and/or ServerAlias -- if you read the PHP dox (or read what I posted above) it tells you that the Web Server (Apache) provides the data for the PHP environmental variables, which are ...
by gravyface
17 Aug 2006, 19:07
Forum: Help
Topic: Where is the path for the link in password change emails?
Replies: 25
Views: 24266

Man I'm doin all your work for you :)

Here's what they said in the #apache IRC channel on freenode:

"it returns either the value of the ServerName directive, or possibly ServerAlias (of the value sent in the Host: header) if UseCanonicalName is Off"

So... try ServerAlias or set UseCanonicalName ...
by gravyface
17 Aug 2006, 18:56
Forum: Help
Topic: Where is the path for the link in password change emails?
Replies: 25
Views: 24266

don't give up yet! :)

There's got to be a way to set this up. did you try ServerAlias?
by gravyface
17 Aug 2006, 18:43
Forum: Help
Topic: Where is the path for the link in password change emails?
Replies: 25
Views: 24266

I'd try a search through c:\program files\*apache directory* for the string "localhost" and see if you set it somewhere during installation.
by gravyface
17 Aug 2006, 18:37
Forum: Help
Topic: categories, sub-projects, and permissions: please explain
Replies: 1
Views: 4386

Since I'm talking to myself here, I might as well answer myself:


First question: will I be able to assign category permissions? The role permissions seem to only apply to the users assigned to the projects and I need a way to only allow clients to create issues within the "work order" category ...
by gravyface
17 Aug 2006, 18:35
Forum: Help
Topic: Where is the path for the link in password change emails?
Replies: 25
Views: 24266

oops. read your reply too late. Windows Apache2 might be wonky -- I know there were gripes when it was first released. Try ServerAlias:

http://httpd.apache.org/docs/2.0/mod/co ... erveralias
by gravyface
17 Aug 2006, 18:24
Forum: Help
Topic: Where is the path for the link in password change emails?
Replies: 25
Views: 24266

PHP's environmental variables (also known as "CGI Variables") are pulled from the Web server. To see the values for yourself, create a php file with:

<?php
echo phpinfo();
?>

...and run it.

According to the Apache 2.x documentation, the ServerName defines your hostname. I'm wondering if perhaps ...
by gravyface
17 Aug 2006, 17:55
Forum: Help
Topic: Where is the path for the link in password change emails?
Replies: 25
Views: 24266

You need to set ServerName to your hostname:

http://httpd.apache.org/docs/2.0/mod/co ... servername
by gravyface
17 Aug 2006, 14:44
Forum: Help
Topic: Where is the path for the link in password change emails?
Replies: 25
Views: 24266

Are you running Apache or IIS?
by gravyface
17 Aug 2006, 13:14
Forum: Help
Topic: Remove fields and boxes in the bug view page ?
Replies: 1
Views: 3412

I'd like to know of the best way to do this as well. I'm using version 1.0.5.
by gravyface
17 Aug 2006, 12:56
Forum: Help
Topic: Where is the path for the link in password change emails?
Replies: 25
Views: 24266

The URL is generated programmatically, around line 71 in the config_defaults_inc.php:



if ( isset( $_SERVER['HTTP_HOST'] ) ) {
$t_host = $_SERVER['HTTP_HOST'];
} else if ( isset( $_SERVER['SERVER_NAME'] ) ) {
$t_host = $_SERVER['SERVER_NAME'] . $t_port;
} else if ( isset( $_SERVER['SERVER ...