Ah, you are working locally on windows...
I think you will have to setup a virtual host in your apache. This must point a virtual domain on the /web folder of your installation. So the URL of the contao-manager will not be 127.0.0.1/testing.eu/web/contao-manager.phar.php but
testing.eu/contao-manager.phar.php
I assume that you setup a vhost for local domain "testing.eu" similar to this:
(Note: I do not use a Windows system, so maybe this is not totally correct.
Please search the forum for "Windows XAMPP vhost" or just google for "apache2 vhost configuration" for more info.)
Code:
<VirtualHost *:80>
# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# specifies what hostname must appear in the request's Host: header to
# match this virtual host. For the default virtual host (this file) this
# value is not decisive as it is used as a last resort host regardless.
# However, you must set it for any further virtual host explicitly.
#ServerName www.example.com
ServerAdmin you@home.de
ServerName testing.eu
ServerAlias www.testing.eu
DocumentRoot G:/Bitnami/wampstack-7.2.22-0/apache2/htdocs/testing.eu/web
<Directory G:/Bitnami/wampstack-7.2.22-0/apache2/htdocs/testing.eu/web/>
AllowOverride All
Order Allow,Deny
Allow from All
<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ app.php [QSA,L]
</IfModule>
</Directory>
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# It is also possible to configure the loglevel for particular
# modules, e.g.
#LogLevel info ssl:warn
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
# include a line for only one particular virtual host. For example the
# following line enables the CGI configuration for this host only
# after it has been globally disabled with "a2disconf".
#Include conf-available/serve-cgi-bin.conf
</VirtualHost>
Lesezeichen