[rt-users] Lack of trailing slash causing porblems in IE

Brendan Arnold brendanarnold at gmail.com
Thu Apr 20 14:02:20 EDT 2006


Hi there,

When submitting form information such as logging in, updating a page
etc. Internet Explorer (6) returns a 'The page cannot be found' error
intermittently.

This happens consistently if I first load my RT login page as

https://example.com/rt

But not if I load it as

https://example.com/rt/

With the trailng slash. I think this may not be exclusively linked to
RT since there have been reports that similar intermittent problems
have been encountered with our Phorum installation (a PHP bulletin
board), however the problem with RT is much more frequent.

Some stats,

Solaris 9
Apache 2.0.55 (also happened with 1.3)
RT 3.4.5 (also happened with 3.4.2)
Perl 5.8.5

# httpd.conf
#
# OVERVIEW
#
# This is a httpd.conf file written from scratch for server burs-unx004
# production.
#
# The structure also loosely follows the FHS standard for location of
# files etc. See http://www.pathname.com/fhs/ for details.
#

# Load the modules

# Used to allow password protected directories
LoadModule auth_module modules/mod_auth.so
# PHP 4 used for performance
LoadModule php4_module modules/libphp4.so
# Enable SSL
LoadModule ssl_module modules/mod_ssl.so
# Allows AddType directive
LoadModule mime_module modules/mod_mime.so
# Allows DirectoryIndex directive
LoadModule dir_module modules/mod_dir.so
# access_module for 2.0, authz_host_module for 2.2
LoadModule access_module modules/mod_access.so
# LoadModule authz_host_module modules/mod_authz_host.so
# Allows TransferLog directive
LoadModule log_config_module modules/mod_log_config.so
# Allows Alias directive
LoadModule alias_module modules/mod_alias.so
# Allows CGI scripting
LoadModule cgi_module modules/mod_cgi.so
# Improve CGI performance, currently not compiled
LoadModule fastcgi_module modules/mod_fastcgi.so

# Let Apache run as a powerless user and powerless group for security
# reasons
User www
Group www

# Set the domain name for this server root
ServerName estates.bris.ac.uk

# Set contact name
ServerAdmin webmaster-estates at bris.ac.uk

# Set the system path to the server root
DocumentRoot /srv/www/htdocs

# Set the location of the log relative to the ServerRoot
TransferLog logs/access_log

# Set port on which main sets of static docs are listened on
Listen 80
Listen 443

# Set it so links can be followed, hence cgi-bin etc. can be accessed
# Don't allow CGIs, indexing of directories and server side includes
#Options +FollowSymLinks -ExecCGI -Indexes -Includes

# Configure so that the cgi-bin directory can be used and accessed
# through ServerName/cgi-bin
#ScriptAlias /cgi-bin /srv/www/cgi-bin

# make sure Apache knows to pass .php files though PHP before serving
AddType application/x-httpd-php .php

# make sure Apache know what to do with certificate files
AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl    .crl

# Server-wide FastCGI directives
FastCgiIpcDir /tmp
FastCgiServer /usr/local/rt3/bin/mason_handler.fcgi -idle-timeout 120
-processes 4

# Ordinary content served on port 80
<VirtualHost _default_:80>
        ServerAdmin webmaster at example.com
        DocumentRoot /srv/www/htdocs
        ServerName example.com
        Redirect /rt https://example.com/rt
</VirtualHost>

# Secure content served on port 443
<VirtualHost _default_:443>

        ServerAdmin webmaster at example.com
        DocumentRoot /srv/www/htdocs
        ServerName example.comk

        # Entry for Request Tracker, only for encrypted connections
        # More info found at
http://www.fastcgi.com/mod_fastcgi/docs/mod_fastcgi.html
        AddHandler fastcgi-script fcgi
        ScriptAlias /rt /usr/local/rt3/bin/mason_handler.fcgi
        # Alias /rt/NoAuth/images /usr/local/rt3/html/NoAuth/images

        # The SSL configuration directives
        SSLEngine on
        # List the ciphers that the client is permitted to negotiate
        SSLCipherSuite
ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
        # List all locations for OpenSSL certificates
        SSLCertificateFile /var/ssl/public/estates-public.crt
        SSLCertificateKeyFile /var/ssl/private/estates-private.key
        SSLCertificateChainFile /var/ssl/public/estates-public-chain.crt

</VirtualHost>

# SSL cache, uses DBM, may suffer reliability under high loads
SSLSessionCache         dbm:/usr/local/apache-2.0.55/logs/ssl_scache

# Configure the path to the mutual exclusion semaphore the
# SSL engine uses internally for inter-process synchronization.
SSLMutex  file:/usr/local/apache-2.0.55/logs/ssl_mutex

# Random number source
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin

# Allow various type of file to be served as index file
DirectoryIndex index.php index.html index.cgi index.pl

# Don't serve up .htaccess and htpasswd files
<Files ~ "^\.ht">
        Order Allow,Deny
        Deny from all
        Satisfy all
</Files>

# Don't serve up directories called 'no-serve'
<DirectoryMatch "/srv/www/(.+)/no-serve">
        Order Allow,Deny
        Deny from all
        Satisfy all
</DirectoryMatch>


Regards,

Brendan



More information about the rt-users mailing list