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
- NGINX rewrite rules for WordPress Subdirectory Multisite to support deep URL
- Replace ' and similar html codes with their correspondent character?
- Google Calendar API event update always return 404 “not found” error
- How to prevent the “Confirm Form Resubmission” dialog?
- navigate back with PHP form submission
- How to set 777 permission on a particular folder? [closed]
- How do I make a redirect in PHP?
- htaccess and redirect to new url using regex
- Pretty permalinks (again)
- What to do after a wrong RewriteRule?
- ModRewrite not working properly
- htaccess mod_rewrite not working
- Not logged in when using http
- W3 Total Cache Can’t Really Detect Things
- Admin-area broken through weird issues
- Blog only showing code
- Enabling XSendFile causes 404 for images on WordPress Multisite / Network
- how to exclude admin page from add_rewrite_rule in wordpress
- WordPress rewrite question
- customize urls displayed by previous_post_link and next_post_link
- How can I set up a completely separate (not multisite) WordPress installation as a subdirectory of an existing WordPress blog?
- .htaccess not working in WordPress
- Why I can download any file except PHP files from a URL but I can download any from another site?
- 3 domains, 1 wordpress install, redirecting and changing domains on live site
- Add-on domain works in WordPress but links still lead to subdomain
- WordPress on a subfolder but accessible from root
- How to redirect a virtual page (e.g. /blog) to the home page?
- WordPress Memory limit not increasing
- Having an HTTP error 500 after migrating a website
- Can I redirect the http request towards an old folder to the homepage using .htaccess file? [closed]
- session_start(): Cannot find save handler ‘mm’ – session startup failed in /sites
- how to put shortcode to the top of the page – theme 2014
- How to avoid timeout waiting for output from CGI script?
- How can I prevent wordpress from sending emails
- True or False: Is an Apache error or PHP error the same as a WordPress error?
- How to use multiple 404 Error Pages in WordPress
- Add rewrite endpoint and .htaccess
- WordPress redirection
- Allow direct access to files/folders within WordPress to replace wp-admin
- Settings > Permalinks – mod_rewrite ineffective if expression not preceded by /index.php/
- Increase Upload Size with htaccess | MAMP
- How To Add CSP frame ancestors in WordPress Website? [closed]
- Subfolder install not working
- WP-Include rewrite directory
- Browser Caching .htaccess
- Restricting access to a file for everyone except logged in users
- Hardening WordPress – how to set .htaccess permissions?
- wp-login – unable to redirect user to a custom login url
- Change WordPress Multisite Domain to subfolder
- URL rewriting problem
- All Pages and Post are redirecting to 404 Not Found in wordpress
- Updating post_parent caused the website to become unresponsive for 40 seconds or more
- How to do SEO friendly filters urls?
- 404 Error after URL update
- Avoid duplicate content on pretty URLs with htaccess
- Are there any negative impact if access to directories were accidently denied?
- The wp-admin url for each site does not work on WordPress multisite
- How to add global CSS to all webpages without installing any plugin?