[TYPO3-english] Typo3 setup - Internal Server Error at http://localhost/typo3
csanyipal at gmail.com
csanyipal at gmail.com
Fri Jul 17 14:25:16 CEST 2009
Hi,
I try to setup typo3 on my Bubba miniserver at home.
I can to login with SSH to it's console.
I have installed typo3-dummy and typo3 debian packages.
I have installed apache2 debian package too.
Following the /usr/share/doc/typo3/README.Debian.gz I have setup so
far the following things:
- I have checked PHP, and extensions gd and mysql
Here I know that instead of PHP4 I have PHP5:
# cd /etc/apache2/mods-enabled; ls -l php4*
php4.conf -> /etc/apache2/mods-available/php4.conf
php4.load -> /etc/apache2/mods-available/php4.load
I havn't php4.conf and php4.load but I have php5.conf and php5.load:
$ cd /etc/apache2/mods-enabled; ls -l php5*
lrwxrwxrwx 1 root root 27 Apr 18 2008 php5.conf ->
../mods-available/php5.conf
lrwxrwxrwx 1 root root 27 Apr 18 2008 php5.load ->
../mods-available/php5.load
I edited /etc/php5/apache2/php.ini to have:
extension=gd.so
extension=mysql.so
-I have enabled the webserver to use the provided directories.
$ cd /etc/apache2/sites-available
$ sudo ln -s /etc/typo3-dummy/apache.conf typo3-dummy
$ cd /etc/apache2/sites-enabled
$ sudo ln -s ../sites-available/typo3-dummy
-I fixed permissions with command:
sudo chown -R www-data:www-data /var/lib/typo3-dummy
-I prepared the MySQL access:
sudo mysqladmin create typo3-dummy
sudo mysql --exec="GRANT ALL PRIVILEGES ON \`typo3-dummy\`.* \
TO 'typo3'@'localhost' IDENTIFIED BY 'mypass' ; "
-When I'm using browser try to visit http://localhost/typo3/
I get Error message:
Internal Server Error
The server encountered an internal error or misconfiguration and
was unable to complete your request.
Please contact the server administrator, webmaster at localhost and
inform them of the time the error occurred, and anything you might
have done that may have caused the error.
More information about this error may be available in the server
error log.
________________________________________________________________
Apache/2.2.3 (Debian) mod_fastcgi/2.4.2 PHP/5.2.6-5ex1 with
Suhosin-Patch mod_ssl/2.2.3 OpenSSL/0.9.8c Server at localhost Port 80
So I did:
$ sudo mcedit /etc/apache2/apache2.conf
to: LogLevel debug
restart the apache2:
$ sudo /etc/init.d/apache2 restart
Forcing reload of web server (apache2)...[Fri Jul 17 09:49:09 2009]
[warn] The Alias directive in /etc/apache2/sites-enabled/typo3-dummy
at line 15 will probably never match because it overlaps an earlier
Alias.
waiting [Fri Jul 17 09:49:13 2009] [warn] The Alias directive in
/etc/apache2/sites-enabled/typo3-dummy at line 15 will probably never
match because it overlaps an earlier Alias.
Visit again the localhost/typo3 site:
500 Internal Server Error
etc.
Look the log file:
$ sudo less /var/log/apache2/error.log
[Fri Jul 17 10:02:45 2009] [error] [client 127.0.0.1] Request exceeded
the limit of 10 internal redirects due to probable configurati on
error. Use 'LimitInternalRecursion' to increase the limit if
necessary. Use 'LogLevel debug' to get a backtrace.
I try to solve this with VirtualHost but without success. I don't know
too much about apache2 VirtualHost thing.
What can I do to solve this problem?
Any advices will be appreciated!
--
Regards,
Paul
More information about the TYPO3-english
mailing list