httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adwinwijaya <adwinwij...@yahoo.com.au>
Subject [users@httpd] Alias doesnt work with SSL ?
Date Mon, 03 May 2004 23:22:09 GMT
hello apache users,

I have a problem with alias and SSL in Apache 2.0.47 (Fedora Core 1).
here is part of my httpd.conf (the rest is not touched, same as
default)

-------------------------------------------------------------------
<VirtualHost *:80>
    ServerAdmin omnix@omnix.se
    DocumentRoot /var/www/html/awillr/www
    ServerName awillr.com.au
    ErrorLog logs/awillr-error_log
    CustomLog logs/awillr_log common
    DirectoryIndex home index.php index.html

        AliasMatch .*/Images/(.*)       "/var/www/html/awillr/www/Images/$1"

        Alias /images "/var/www/html/awillr/www/Images/"
        Alias /Images "/var/www/html/awillr/www/Images/"
        Alias /files "/var/www/html/awillr/www/files/"
        Alias /plain "/var/www/html/awillr/www/plain.php/"
        Alias /print "/var/www/html/awillr/www/print.php/"

        Alias /Admin/_submit "/var/www/html/awillr/www/Admin/_submit/"
        Alias /Admin "/var/www/html/awillr/www/Admin/go.php/"

        Alias /Member/Correspondence/_submit "/var/www/html/awillr/www/Member/Correspondence/_submit/"

        Alias /_submit "/var/www/html/awillr/www/_submit/"
        Alias / "/var/www/html/awillr/www/home.php/"

        <Directory />
                AllowOverride All
                Options Indexes
        </Directory>

</VirtualHost>

-------------------------------------------------------------------

This configuration works very well in environtment without httpd.

let me explain how it work:
first, if you type:

http://www.myhomepage.com/name_directory/filename.php

it will load home.php first, and then home.php will call the file
/name_directory/filename.php

but if i use SSL, it will call filename.php directly so it wont
display correctly.
note: home.php is the main template that I used for every page.

can someone tell me how to solve this problem ?

thank you

regards
adwin










---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message