• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Resolved htaccess not working

GazCBG

New Pleskian
Hi,

I installed Plesk Onyx trial last night on a VPS with CentOS 7 on it.

However .htaccess is not working, I have read the support page about making sure 'Proxy mode' is ticked, which it is.

But I still get 404 errors on a fresh install of htaccess, with the .htaccess file in 'httpdocs' folder.
However if I add the Nginx vesion of the htaccess it works fine.

But I would prefer to use .htaccess file

How can I fix this?

Regards,
Garry
 
Hi,

Tried that and it didn't work

Here are the settings for the domain name from Hosting Settings and Apache & nginx Settings

Hosting Settings
- Domain name: DOMAIN.COM
- Hosting type: Website
- Website status: Active
- Document root: httpdocs
- Preferred domain: None

- Security
- SSL/TLS support: Ticked
- Permanent SEO-safe 301 redirect from HTTP to HTTP: Unticked

- Web scripting and statistics
- SSI suppor: Unticked
- PHP support: Ticked (PHP 7.3.9 running as FPM application served by nginx
- CGI suppor: Unticked
- FastCGI suppor: Ticked
- Awststs Web statistics (Protect access to your web statistics with your FTP username and password ): Ticked
- Custom error documents: Ticked

Apache & nginx Settings
- Common Apache settings
- MIME types: Default
- Handlers: Default
- Deny access to the site: Default
- Index files: Default
- Expires: Default
- Additional headers: Default
- Restrict the ability to follow symbolic links: Unticked

- Additional Apache directives
- Additional directives for HTTP: Empty
- Additional directives for HTTP: Empty

- nginx settings
- Proxy mode: Ticked
- Smart static files processing: Unticked (also tried Ticked)
- Serve static files directly by nginx: Unticked
- Enable nginx caching: Unticked

- Additional nginx directives
- Additional nginx directive: Empty
 
Last edited:
Back
Top