Knowledgebase / FAQ - ip-connect GmbH
Knowledgeroot - Version:
Menü verstecken Menü ausklappen Menü neuladen Menü einklappen
Menü schliessen
  1.Virtualhost-Configuration    (Zuletzt geändert von rsch an 02.06.2010 01:56:58)

                #Directory-Listing aufhuebschen
                IndexOptions FancyIndexing FoldersFirst SuppressHTMLPreamble IgnoreCase XHTML NameWidth=70 SuppressDescription
                IndexIgnore logs .dirlist

                # In order for the PHP file to execute in a header, need to have a major type of text
                AddType text/html .php
                AddHandler application/x-httpd-php .php

                HeaderName /.dirlist/.head.php
                ReadmeName /.dirlist/.foot.html

.dirlist.tar.gz [23,02 KB] [rsch - 24. September 2023 19:53:21]
verschieben [Oben]

  2.Head-File    (Zuletzt geändert von rsch an 02.06.2010 01:58:10)

cat .dirlist/.head.php

$ruri = $_SERVER['REQUEST_URI'];
$path = substr($ruri, 0, strpos($ruri,'?')-1);
if ($path == '') $path = '/';

        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
        <title>Cine-Project Download - Listing of <?php echo $path; ?></title>
        <link rel="stylesheet" type="text/css" href="/.dirlist/.main.css" />
                body, td { color:#000000; font-family:Arial; font-size:10pt; }
                img {
                        border: 0;
                        vertical-align: middle;
                #contenttable table { width: 840px; }
                #contenttable th { text-align: left; }


<table width="862" border="0" cellspacing="0" cellpadding="0" height="100%">
        <tr height="91">
                <td colspan="2" align="right" height="91" background="/.dirlist/.kopf-bg.gif">
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                        <td><img src="/.dirlist/.logo_big.gif" alt="" height="91" width="411" border="0"></td>
                                        <td align="right"><img src="/.dirlist/.logo.gif" alt="" height="91" width="332" border="0"></td>
        <tr height="20">
                <td bgcolor="#82AACC" height="20">
                        <table border=0 cellpadding=0 cellspacing=0>
                                        <td style="color:#003868; font:bold 12px Arial; padding-left:30px;">
                                                <img src="/.dirlist/.clear.gif" width="5" height="1">
                                                Cine-Project Download - Listing of <?php echo $path; ?>
                <td width="22" height="20" bgcolor="#025296"></td>
        <tr height="1">
                <td colspan="2"></td>
                <td valign="top" style="padding: 10px;" id="contenttable">
                </ br>

verschieben [Oben]

  3.    (Zuletzt geändert von rsch an 02.06.2010 01:58:44)

 cat .dirlist/.foot.html

                <font size="1">powered by <a href="" target="_blank">ip-connect GmbH</a> / 2010</font>

                <td bgcolor="#e5edf4" width="22" valign="top"></td>


verschieben [Oben]