• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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