• Resolved ecohostingservices

    (@ecohostingservices)


    Hi Dimitar
    Could you add ‘always’ Unset to remove the PHP version as it doesn’t always work. When I set it using your plugin I then have to open the .htaccess file and add ‘always’ in front of ‘unset’ and it works.

    Thanks

    Colin

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Dimitar Ivanov

    (@zinoui)

    Hi Colin

    A good idea!
    I will add the always condition in the very next release.

    Regards

    Thread Starter ecohostingservices

    (@ecohostingservices)

    Thanks Dimitar looking forward to the next release.

    Again many Thanks

    Colin

    Thread Starter ecohostingservices

    (@ecohostingservices)

    Hi Dimitar
    I have updated to the new version and under Miscellaneous => X-Powered-By it doesn’t have the option of setting ‘Alawys’ as mentioned above.

    My .htacceee file says:
    Header unset X-Powered-By

    I need the option to add ‘always’ as it doesn’t always take the PHP version off.
    Header always unset X-Powered-By

    Like I said above I will need to access the .htaccess file and add it myself.

    Cheers

    Colin

    Plugin Author Dimitar Ivanov

    (@zinoui)

    The plugin will add the always condition silently. I mean you can’t choose to add it or not from the UI, at least for now.

    To see the changes you need to hit the “Save Changes” button on the “X-Powered-By” page.
    After that your .htaccess file should looks like:

    Header always unset X-Powered-By
    Header unset X-Powered-By

    * The double header is needed to make it works for all SAPI.

    Thread Starter ecohostingservices

    (@ecohostingservices)

    Hi Dimitar
    Thanks for your explanation. Yes I checked the .htaccess file and it does have both entries.

    Would the 2nd one overwrite the first one though?

    Thanks

    Colin

    Plugin Author Dimitar Ivanov

    (@zinoui)

    Both lines do the same, just some Server APIs ignore the condition.

    For example: when PHP is installed as Apache module
    Header always unset X-Powered-By is ignored
    That’s why I need:
    Header unset X-Powered-By

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘X-Powered-By Always Unset’ is closed to new replies.