Tag : mod_rewrite


How to enable rewrite mode for apache in ubuntu?

Whenever you need to rewrite index.php file from url you can find solution here. you can easily enable rewrite mode using bellow terminal command. when i create one virtualhost for my laravel application and open in browser and open my created virtual url. but when i click on login i found following error : <pre> URL not found.... </pre> But when i try add index.php like this way then it works: <pre> http://test.hd/index.php/login </pre> You can remove index.php from url so run following command: <pre class="prettyprint lang-php"> sudo a2enmod rewrite sudo service apache2 restart </pre> Now .....

By Hardik Savani | April 8, 2016 | | 497 Viewer | Category : Ubuntu Apache
READ MORE

    Bootstrap - Input multiple tags example using Tag Manager Jquery Plugin

    Bootstrap - Input multiple tags example using Tag Manager Jquery Plugin

    Open Post

    AngularJS - simple image upload with preview example in PHP

    AngularJS - simple image upload with preview example in PHP

    Open Post

    How to send mail using mailable in laravel 5.3?

    How to send mail using mailable in laravel 5.3?

    Open Post

    Laravel 5 - Simple user access control using Middleware

    Laravel 5 - Simple user access control using Middleware

    Open Post

    How to integrate paypal payment gateway with laravel 5.4

    How to integrate paypal payment gateway with laravel 5.4

    Open Post

    How to get last record from MySQL table in Codeigniter?

    How to get last record from MySQL table in Codeigniter?

    Open Post