• 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 within sub domain

RicardoF1RST

New Pleskian
Hi, any ideas much appreciated.
I have created a new sub domain, copied my files into it (including my normal .htaccess) and stuck a die("Hello Work"); at the top of my index.php. This works fine when directly addressed but if I stick anything else in rather than my index.php catching it, I get a 404 error as though the .htaccess isn't being used. Its the same .htaccess as I use in my other sub domain and that works fine. I have tried sticking some garbage at the top of the .htaccess in question, and I don't get a 500 error, just the same page not found which again indicates Apache isn't using the .htaccess. What am I missing!?
 
Is "Proxy Mode" enabled in the Apache & Nginx Settings? Else .htaccess is not interpreted.
 
I thought I had triple checked all settings. Correctamundo, Proxy Mode was disabled - many thanks for getting me to look again - only lost a day :-D
 
Back
Top