How can I disable reverse hostname lookups without being able to log in?

Started by gpoppi, July 20, 2014, 04:15:05 PM

Previous topic - Next topic

gpoppi

Hi everyone, I am having problems with my forum and I would like to know how I could disable the reverse hostname lookups setting without having access to my admin area (logging in problem). Any way to change it through phpmyadmin or ftp?

Thanks

kat



Outside of SMF, I don't think you can (I could be wrong). But, your host can do it, by editing their Apache configuration, if they're willing so to do.

Illori

what makes you think you need to disable hostname look ups?

K@ it is an smf feature, the host may have disabled shell_exec but it can be worked around.

Sources/Subs.php starting around line 3777 starts the host_from_ip function

margarett

Or you can go to your smf_settings table, search for a field called "disableHostnameLookup" and set it to "1" (without quotes) ;)
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Advertisement: