php 5.4 - After Install Laravel 4 on Ubuntu 12.04 the requested URL / was not found on this server -
php 5.4 - After Install Laravel 4 on Ubuntu 12.04 the requested URL / was not found on this server -
i installed laravel 4 on ubuntu 12.04, follow these steps -
http://www.dev-metal.com/install-laravel-4-ubuntu-12-04-lts/ www.dev-metal.com/install-laravel-4-ubuntu-12-04-lts/
activate mod_rewrite
install mod_rewrite module (or extension or whatever is) , restart apache:
sudo a2enmod rewrite sudo service apache2 restart open default vhost config file:
sudo nano /etc/apache2/sites-available/default documentroot /var/www <directory /var/www> and alter them to
documentroot /var/www/public <directory /var/www/public> than install laravel 4
cd /var/www wget https://github.com/laravel/laravel/archive/master.zip unzip master.zip && cd laravel-master/ && mv * ../ && cd .. rm -r laravel-master && rm master.zip run installation composer by
composer install and restart server:
sudo service apache2 restart than installed , message :
but when i'm trying run web project illustration
http://localhost/demo than error comes :
not found requested url /demo not found on server. apache/2.2.22 (ubuntu) server @ localhost port 80
add next apache directory configuration.
allowoverride
laravel php-5.4
Comments
Post a Comment