I have tried to add a script alias to the site I have created that has an ssl certificate.
In the Vhosts_ispconfig.conf as below:
<IfModule mod_ssl.c>
<VirtualHost 192.168.0.192:443>
ServerName isp.homenet.local:443
ServerAdmin
webmaster@homenet.local
DocumentRoot /var/www/web8/web
ServerAlias homenet.local
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.
htm
ScriptAlias /cgi-bin/ /var/www/web8/cgi-bin/
ScriptAlias /www.site1.local/cgi-bin/ /var/www/web3/cgi-bin/
Alias /www.site1.local/ /var/www/web3/web/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web8/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php3>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php4>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php5>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
php_admin_flag safe_mode On
php_admin_value open_basedir /var/www/web8/
php_admin_value file_uploads 1
php_admin_value upload_tmp_dir /var/www/web8/phptmp/
php_admin_value session.save_path /var/www/web8/phptmp/
SSLEngine on
SSLCertificateFile /var/www/web8/ssl/isp.homenet.local.crt
SSLCertificateKeyFile /var/www/web8/ssl/isp.homenet.local.key
Alias /error/ "/var/www/web8/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /var/www/web8/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web8/user/$1/web/$3
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0
</VirtualHost>
</IfModule>
When I restart the server it removes the bold lines above. Is there away which i can stop this from happening?
Basically all I want to do is alias
https://isp.homenet.local/www.site1.local/ to the root of the web3.
Recent comments
12 hours 40 min ago
17 hours 39 min ago
19 hours 5 min ago
19 hours 58 min ago
21 hours 41 min ago
1 day 2 hours ago
1 day 2 hours ago
1 day 5 hours ago
1 day 18 hours ago
1 day 19 hours ago