Everytime I try to access to http://server-ip/folder1 it redirects me to http://example.com
I want to access to folder1 but it´s impossible because it's redirected to http://example.com/folder1
Here is my virtual host configuration in /etc/apache2/sites-enabled/000-default-ssl.conf
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName example.com
DocumentRoot /var/www/html/exampleSite/
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/folder1/
RewriteCond %{REQUEST_URI} !^/folder2/
</VirtualHost>
Thanks!
I solved the problem.
Solution:
Greetings!