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
- How to remove .html from URL?
- .htaccess redirect http to https
- 404 Not Found The requested URL was not found on this server
- Invalid column count in CSV input on line 1 Error
- How to check if a string starts with a specified string?
- How to run php files on my computer
- $wpdb->update or $wpdb->insert results in slashes being added in front of quotes
- Are there dictionaries in php?
- Make a HTTPS request through PHP and get response
- How do the PHP equality (== double equals) and identity (=== triple equals) comparison operators differ?
- Replace spaces with a dash in a URL
- Are PDO prepared statements sufficient to prevent SQL injection?
- Message: Trying to access array offset on value of type null [duplicate]
- retrieve data from db and display it in table in php .. see this code whats wrong with it?
- Count how many files in directory PHP
- Mixed Content Page: requested an insecure stylesheet error
- header location not working in my php code
- PHP Error: Function name must be a string
- Uncaught Error: Call to undefined function mysql_escape_string()
- Warning: mysqli_query() expects at least 2 parameters, 1 given. What? [duplicate]
- PHP cURL custom headers
- Mysql where id is in array
- How to extract and access data from JSON with PHP?
- Warning “Do not Access Superglobal $_POST Array Directly” on Netbeans 7.4 for PHP
- How to run a PHP function from an HTML form?
- How to use data-saferedirecturl in a tag in PHP?
- PHP date yesterday [duplicate]
- Clear cache in Symfony: `cache:clear` or `rm -rf`?
- Double slashes on WordPress Admin URL redirects to wp-login
- cURL 28 error after switch from to brew php 7.2 on localhost
- Place static HTML files in path below WordPress page
- htaccess rewrite for author query string when WP is in subfolder
- Rewrite /?rest_route=/ link to /wp-json/ without changing default permalink structure in apache
- Using PHP in a Stylesheet (possibly a “.htaccess” problem?)
- Is it possible to move wordpress out of webroot?
- WordPress 404 on Subdomain
- Rule to redirect non logged in User to Custom Registration/login Page in .htaccess file
- .htaccess file missing from WordPress install directory
- Evaluations of two wordpress security plans against php code injection attack
- WordPress Permalinks still not working despite all necessary settings
- How to rewrite URL with PHP variables with htaccess to a normal looking URL?
- Change htaccess to redirect to index.php in subfolder
- Page preview is shown, updating page gives 404 error
- How to disable all logins except Network login in WordPress Multi site?
- Accepting special characters in querystring
- How can I create a smarter .htaccess file that will add a directory?
- How do I properly redirect requests to WordPress subdirectory?
- Windows Setup: Error establishing a database connection
- WAMP SERVER Command Prompt SET PATH=%PATH%
- How to block access to a folder inside of wp-content for non logged in users?
- using htaccess to check for cookie on permalink then conditionall rewrite with query parameter
- How to block wordpress admin by htaccess
- Not logged in when using http
- Add-on domain works in WordPress but links still lead to subdomain
- How to avoid timeout waiting for output from CGI script?
- How can I prevent wordpress from sending emails
- 404 Error after URL update