Finally Overcame the problem
- It was not the .htaccess file that was the problem nor the index.php. The problem was on accessing the files and requiring permissions.
For solving the problem i ran the following commands through terminal.
sudo chmod -R 755 laravel_blog
and then type below to allow laravel to write file to storage folder
chmod -R o+w laravel_blog/storage
This two commands solved the problem.
Related Posts:
- Redirect vs RedirectMatch
- How to remove index.php from WordPress site URL
- WordPress multisite causing Error 101 (net::ERR_CONNECTION_RESET): Unknown error [duplicate]
- How to avoid Request Entity Too Large 413 error
- http://localhost:80 is not working on running Apache server through UniServer ZeroXIII
- How can I use an .htaccess file in Nginx?
- How do I resolve a HTTP 414 “Request URI too long” error?
- Getting an error when I visit http://localhost
- What is the difference between the ‘www’ folder and ‘htdocs’ folder?
- What is Options +FollowSymLinks?
- Unable to locate package libapache2-mod-php7
- Laravel 5.2 Storage::makeDirectory($dir) is not creating directory
- SSL error SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
- htaccess – Redirect to subfolder without changing browser URL
- Package php5 have no installation candidate (Ubuntu 16.04)
- MAMP “Apache couldn’t be started because port is in use.” AND “Can’t connect to local MySQL server through /tmp/mysql.sock
- Only variable references should be returned by reference – Codeigniter
- Connection reset by peer: mod_fcgid: error reading data from FastCGI server
- file_get_contents( ) not working
- XAMPP, using port:81, cannot run localhost:81/mywebsite
- “End of script output before headers” in Apache + PHP
- How can I force users to access my page over HTTPS instead of HTTP?
- Using PHP 7 with WAMP
- Redirect old php link to wordpress link in .htaccess
- Redirect old php link to wordpress link in .htaccess
- Cant login to wp-admin (redirecting to homepage), But CAN login to wp-login.php
- Cant login to wp-admin (redirecting to homepage), But CAN login to wp-login.php
- Bypass .htaccess when using download_url
- How can i redirect one url to another url using .htaccess or add_rewrite_rule
- Override htacces rule only for specific directory
- Apache Fallback instead of add_rewrite_rule
- mod_rewrite loop, redirecting http to https on certain section of wordpress blog
- how to combine wordpress htaccess on my root domain + php on subfolder
- Loading index.php contents which located outside blog folder for post single page
- Redirect – remove custom query string
- Simple seo-friendly custom $_GET url rewrite with htaccess
- URL Rewrite 404
- Rewrite /keyword1+keyword2.html to search page | .htaccess
- I can access subdirectory, but not files within it
- Redirect homepage /page/1/ to /blog/page/1/
- Can’t get pretty permalinks to work without index.php
- How to set 777 permission on a particular folder? [closed]
- PHP page redirect
- Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, object given in
- How do I redirect a page in jQuery?
- Illegal string offset Warning PHP
- What’s the purpose of ini_set() in php? (especially for error reporting)
- How to enable mod_rewrite for Apache 2.2
- Send email with PHP from html form on submit with the same script
- Finding the number of days between two dates
- MySqli Commands out of sync; you can’t run this command now
- Trying to get property of non-object in
- CURL ERROR: Recv failure: Connection reset by peer – PHP Curl
- Fix Access denied for user ‘root’@’localhost’ for phpMyAdmin
- PHP multidimensional array search by value
- Trying to get property of non-object – Laravel 5
- nginx: connect() failed (111: Connection refused) while connecting to upstream – after update nginx –
- ‘xmlParseEntityRef: no name’ warnings while loading xml into a php file
- How can I capture the result of var_dump to a string?
- Is Angularjs Clientside or Serverside or Both
- Laravel 5 Class ‘Collective\Html\HtmlServiceProvider’ not found on AWS
- MySQL query to get column names?
- Fatal error: Out of memory, but I do have plenty of memory (PHP)
- Changing permissions via chmod at runtime errors with “Operation not permitted”
- php – How do I fix this illegal offset type error
- Getting ’ instead of an apostrophe(‘) in PHP
- WooCommerce action hooks and overriding templates
- Object of class mysqli_result could not be converted to string
- How to write a link like which link to the same page in PHP?
- Download files from server php
- No query results for model [App\Products] Laravel
- Sending POST data without form
- Resetting MySQL Root Password with XAMPP on Localhost
- Session variables not working php
- Get JSON object from URL
- How to push both value and key into PHP array
- Find the last element of an array while using a foreach loop in PHP
- Popup window in PHP?
- How to run multiple Async HTTP requests in WordPress?
- Which ways can be used to log in to WordPress?
- Cache Busting using htaccess Rewrite rule?
- .htaccess rule to redirect old URLs to new structure [closed]
- How do I test to ensure that my wp-config file is protected?
- Add additional non-rewrite .htaccess directives on multisites via mod_rewrite_rules filter
- .htaccess Security Header Rules
- .htaccess in subdir gets ignored by WordPress’ own .htaccess in /
- WordPress admin dashboard missing icons
- 404 error Additionally 403 Forbidden error on a URL
- admin-ajax.php warning max input vars exceeded on layered pop plugins [closed]
- I have a page using a pretty url and a mod_rewrite rule matching it. I expected it to give an error but it’s working. Why?
- How does WP work in conjunction with a web server?
- Troll the hackers by redirecting them
- Modifying WP URL handing code?
- How to move wordpress website from hosting account to localhost
- Pretty permalinks (again)
- What to do after a wrong RewriteRule?
- W3 Total Cache Can’t Really Detect Things
- WordPress rewrite question
- WP-Include rewrite directory