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 | | 660 Viewer | Category : Ubuntu Apache
READ MORE

    Laravel - How to generate RSS Feed using roumen/feed package?

    Laravel - How to generate RSS Feed using roumen/feed package?

    Open Post

    How to use groupby having with DB::raw in Laravel Query Builder?

    How to use groupby having with DB::raw in Laravel Query Builder?

    Open Post

    Ajax Image Upload Example with Validation in PHP Laravel Framework

    Ajax Image Upload Example with Validation in PHP Laravel Framework

    Open Post

    Laravel 5 - Create modular structure application example using L5Modular package

    Laravel 5 - Create modular structure application example using L5Modular package

    Open Post

    PHP AngularJS CRUD with Search and Pagination Example From Scratch

    PHP AngularJS CRUD with Search and Pagination Example From Scratch

    Open Post

    How to get filename from file path in MySQL?

    How to get filename from file path in MySQL?

    Open Post