Hi All, I have just started my instance and have a basic problem. The default index.php is not loading in one of my directory - unless I put a backslash manually. The directory is - http://4brownbag.com/lamp
The htaccess file in the directory says the following
DirectoryIndex index.php index.html
ErrorDocument 404 "[404 error] If you're seeing this error after install, check$
Options +FollowSymLinks
Options -Multiviews
RewriteEngine On
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^([a-zA-Z0-9-]+)$ $1.php [L]
I have gone through various articles to resolve and yet got nothing. Will appreciate any solution to this as the issue is exposing the installation terribly.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Good to hear from you and My root directory is - /var/www/html/ All working well under this directory and i can access this by putting up www.4brownbag.com. However
/var/www/html/lamp - this directory is giving me the tough time. This i want to access like this - http://4brownbag.com/lamp
Eagerly waiting for any solution or help while I am still looking around like anything :)
Cheers and Regards
JP Singh
what is your root directory? …and what directory is the index.php in?
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.