![]() |
|
Webserver Fragen zum Apache, MySQL-Einrichtung und was sonst noch mit WebServern zu tun hat |
|
Themen-Optionen | Ansicht |
![]() |
#15 | |||||||||||
Erfahrener Benutzer
Registriert seit: 26.02.2010
Alter: 29
Beitr?ge: 259
Abgegebene Danke: 0
Erhielt 2 Danke für 2 Beiträge
![]() Downloads: 37
Uploads: 0 Nachrichten: 9 Renommee-Modifikator:
0 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]()
Also habs jetzt so :
sites-enabled Code:
NameVirtualHost * <Directory /> Options FollowSymLinks AllowOverride none </Directory> ServerTokens Prod ServerSignature Off ErrorLog /var/log/apache2/error.log CustomLog /var/log/apache2/access.log combined LogLevel warn <VirtualHost *> ServerName http://domain ServerAlias domain DocumentRoot /var/www/xyz <Directory /var/www/xyz/> AllowOverride all </Directory> </VirtualHost> und sites-available Code:
<VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot /var/www/xyz/ <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /var/www/xyz/> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all </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 </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> restarten des apache funzt auch. doch wenn ich dan . dieurl.endung eingebe zeigt er mir die index an (aber nur das logo und drunter info. das navi links und den rest zeigt er nicht an) und wenn ich : dieurl.endung/xyz eingebe zeigt er mit an : Code:
Not Found The requested URL /xyz/ was not found on this server. und wenn ich dieurl.endung/xyz/index.php eingebe zeigt er mir an : Code:
Not Found The requested URL /xyz/index.php was not found on this server. und das bei jeder seite. (viel. bin ich grad echt zu blöd dafür)(wenn ja bitte Entschuldige) |
|||||||||||
![]() |
![]() ![]() ![]() |
Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, G?ste: 1) | |
|
|