Question: VPS NETWORKING .htaccess file I'm having trouble trying to get my .htaccess file working on my VPS that is hosted on Vultr.com. I only have

VPS NETWORKING .htaccess file

I'm having trouble trying to get my .htaccess file working on my VPS that is hosted on Vultr.com. I only have one website (Meaning a purchased domain name)... juliowebmaster.com

I'm trying to achieve removing the .html or .php and etc. It works on my root website. But the thing is I have other projects that I've done or learned inside juliowebmaster directory.

I'm running on Ubuntu OS with Apache/2.4.18 (Ubuntu)

My folder structure is... /var/www/juliowebmaster/ddrguy

Inside ddrguy directory I have a .htaccess...

#On rewrite RewriteEngine On

# Allow any files or directories that exist to be displayed directly RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.)$ /index.php?path=$1 [NC,L,QSA] RewriteRule ^.$ /index.php [L,QSA]

Every time when I click the ddrguy link from juliowebmaster.com (it's my portfolio), it redirects with a 404 Not Found.

Any help will be greatly appreciated! Thank you!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!