FTP uploaded Wordpress .htaccess error (RewriteEngine On)

After uploading Wordpress using FileZilla there was a problem with .htaccess file searching my virtual host web domain name in the browser the result was …

  1. For first i thinked the problem was in httpd.conf with .php file in DirectoryIndex but all was ok…
  2. After i checked in /etc/httpd/conf.module.d/00-base.conf if LoadModule rewrite_module modules/mod_rewrite.s was commented but it wasnt so all was ok
  3. I checked if in httpd.conf /var/www/html if .htaccess file was activated if is written AllowOverride All
  4. (solved) The problem was in wordpress .htaccess file…

Replacing

BEGIN WordPress

RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] # END WordPress

With

BEGIN WordPress

Options +FollowSymLinks -MultiViews RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] # END WordPress

all problems solved

Ok, but Im having the same problem, just trying to use the webserver, (I dont use Wordpress)
I tried to install, a php website,
I even wrote my own simple php and html plain pages. It just goes strwaight to the same page above, and it doesnt allow browsing to other directories…

The page doesnt exsist.

Maybe Im missing something?

Clinton

Are you using .htaccess file ?

Im not. I first thought that that was the problem, thats why a just used a simple hello world html and php file. Nothing else and nothing.

if you’re using properly the virtual host, unless any index file you should have this page :point_down:

Check if the DNS of domain is pointing to the server.
Check if the Virtual Host is properly configured like here and if you have the access permission look if permessions are checked in virtual host module NS7 Virtualhost page proposal going on