Code: Select all
<?php
if (!empty($_SERVER['HTTPS']) && ('on' == $_SERVER['HTTPS'])) {
$uri = 'https://';
} else {
$uri = 'http://';
}
$uri .= $_SERVER['HTTP_HOST'];
header('Location: '.$uri.'/pe_pplog.pl/');
exit;
?>
if you don't like the .pl ending showing put the blog directory of the zip file into the blog directory of the web-server. For example the pe_Config.pl file would then be located in web-server/blog/blog/pe_Config.pl.
Move the pe_pplog.pl and pe_admin.pl to web-server/blog.
Leave the /css /js and /image folders in web-server.
Add an .htacces file to the web-server/blog folder with
Code: Select all
DirectoryIndex pe_pplog.pl