Category : Apache


How to create quick apache virtual host in Ubuntu?

We always require to create virtualhost on each project because we don't want to run each project manually, so it is better way to create virtual host address for each project when you development like as bellow: <pre> http://blog.dev http://test.dev http://example.dev http://demo.dev </pre> It will best way to run our project on local system. But if you want to create virtual host on ubuntu, you have to follow several step like site enabled, site enabled config, site directory permission, hosts entry and etc. You have to follow several step on each virtual host create time. I think it take a.....

By Hardik Savani | December 7, 2016 | | 860 Viewer | Category : Apache
READ MORE

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

    Laravel 5.3 - import export csv and excel file into database

    Laravel 5.3 - import export csv and excel file into database

    Open Post

    laravel 5.4 New Feature - Add eloquent whereKey method

    laravel 5.4 New Feature - Add eloquent whereKey method

    Open Post

    Laravel 5 - Full Text Search Example using Scout and Algolia Packages

    Laravel 5 - Full Text Search Example using Scout and Algolia Packages

    Open Post

    Laravel 5 - How to prevent browser back button after user logout?

    Laravel 5 - How to prevent browser back button after user logout?

    Open Post

    Solved - Access Not Configured. Google+ API (truncated...) on google console developer

    Solved - Access Not Configured. Google+ API (truncated...) on google console developer

    Open Post

    How to create middleware for XSS protection in laravel 5?

    How to create middleware for XSS protection in laravel 5?

    Open Post