Gary: apache als lokal server

Beitrag lesen

Hi Jean Max

System Ubuntu 9.04 Jaunty Jackalope

-------------------------------------------------------
Pfad vom Dateisystem (unterste Ebene):
/var/www/ ->hier liegen standartmäßig die Webdocumente also .html und shtml.

-------------------------------------------------------
Pfad vom Dateisystem (unterste Ebene):
/usr/lib/cgi-bin ->hier liegt ein Test-Perl-Prog drin (MiniPerlProg.pl

-------------------------------------------------------
Pfad vom Dateisystem (unterste Ebene):
/usr/etc/apache2/

Hier liegen die Dateien:
httpd.conf
apache.conf
ports.conf
envvars

Und die Ordner:
mods-availabel
mods-enabled
sites-available
sites-enabled
conf.d
-------------------------------------------------------

Im Ordner sites-enabled gibt es die Datei 000-default und der Inhalt sieht so aus:

<VirtualHost *:80>
ServerAdmin webmaster@localhost

DocumentRoot /var/www  
<Directory />  
	Options FollowSymLinks  
	AllowOverride None  
</Directory>  
<Directory /var/www/>  
	Options Indexes FollowSymLinks MultiViews +Includes  
	AllowOverride None  
	Order allow,deny  
	allow from all  
        AddType text/html .shtml  
        AddOutputFilter INCLUDES .shtml  

</Directory>

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/  
<Directory "/usr/lib/cgi-bin">  
	AllowOverride None  
	Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch  
	Order allow,deny  
	Allow from all  

AddHandler cgi-script .cgi .pl
        </Directory>

ErrorLog /var/log/apache2/error.log  

# Possible values include: debug, info, notice, warn, error, crit,  
# alert, emerg.  
LogLevel warn  

CustomLog /var/log/apache2/access.log combined  

Alias /doc/ "/usr/share/doc/"
    <Directory "/usr/share/doc/">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
        Allow from 127.0.0.0/255.0.0.0 ::1/128
    </Directory>

</VirtualHost>

Hilft dies weiter? Mir nicht :-(

Was soll diese Zeile:
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/

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

Gruß Gary