Hallo,
folgendes Problem:
Installiert: Ubuntu Server Edition 9.10
Über die Repositories Apache 2.2.12 und php5 installiert.
Einen VirtualHost in sites-enabled config eingetrage:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName testpage.com
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
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>
im /var/www/eine index.php plaziert mit der Ausgabe von phpInfo()
und mein Problem ist jetzt, dass schon die
REQUEST_URI des Apache (Sektion 'Apache Environment Variables'), folgendes ausgiebt: http://testpage.com/index.php
auf einem anderen Apache der Version 2.2.11, gibt die phpInfo() dort, was meiner Meinung nach richtig ist folgendes aus:
--> /index.php (also ohne den Host)
Hatte jemand von euch dieses Problem schon mal, ist mir schleierhaft, wieso der Apache in dieser Vers. auch den Host in der Request_URI ausgiebt?
Lg
Eden33
folgendes Problem:
Installiert: Ubuntu Server Edition 9.10
Über die Repositories Apache 2.2.12 und php5 installiert.
Einen VirtualHost in sites-enabled config eingetrage:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName testpage.com
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
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>
im /var/www/eine index.php plaziert mit der Ausgabe von phpInfo()
und mein Problem ist jetzt, dass schon die
REQUEST_URI des Apache (Sektion 'Apache Environment Variables'), folgendes ausgiebt: http://testpage.com/index.php
auf einem anderen Apache der Version 2.2.11, gibt die phpInfo() dort, was meiner Meinung nach richtig ist folgendes aus:
--> /index.php (also ohne den Host)
Hatte jemand von euch dieses Problem schon mal, ist mir schleierhaft, wieso der Apache in dieser Vers. auch den Host in der Request_URI ausgiebt?
Lg
Eden33
Comment