K2LL33D SHELL

 Apache/2.4.7 (Ubuntu)
 Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64
 uid=33(www-data) gid=33(www-data) groups=33(www-data)
 safemode : OFF
 MySQL: ON | Perl: ON | cURL: OFF | WGet: ON
  >  / usr / share / doc / w3m /
server ip : 172.67.156.115

your ip : 108.162.216.253

H O M E


Filename/usr/share/doc/w3m/README.siteconf
Size1.56 kb
Permissionrw-r--r--
Ownerroot : root
Create time27-Apr-2025 09:56
Last modified04-Jan-2014 19:14
Last accessed06-Jul-2025 22:41
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
The siteconf: Site-specific preferences

The siteconf consists of URL patterns and preferences associated to them.
You can improve "decode_url" feature by giving charsets of URLs site by site,
or bypass Google's redirector for performance and your privacy.

The siteconf is read from ~/.w3m/siteconf by default.

===== The syntax =====

url <url>|/<re-url>/|m@<re-url>@i [exact]
substitute_url "<destination-url>"
url_charset <charset>
no_referer_from on|off
no_referer_to on|off

The last match wins.

===== Examples =====

url "http://twitter.com/#!/"
substitute_url "http://mobile.twitter.com/"

This forwards the twitter.com to its mobile site.

url "http://your.bookmark.net/"
no_referer_from on

This prevents HTTP referers from being sent when you follow links
at the your.bookmark.net.

url "http://www.google.com/url?" exact
substitute_url "file:///cgi-bin/your-redirector.cgi?"

This forwards the Google's redirector to your local CGI.

url /^http:\/\/[a-z]*\.wikipedia\.org\//
url_charset utf-8

When combinated with "decode_url" option turned on, links to
Wikipedia will be human-readable.

===== Regular expressions notes =====

Following expressions are all equivalent:

/http:\/\/www\.example\.com\//
m/http:\/\/www\.example\.com\//
m@http://www\.example\.com/@
m!http://www\.example\.com/!

With a trailing 'i' modifier, you can specify a case-insensitive match.
For example, m@^http://www\.example\.com/abc/@i matches to:

http://www.example.com/abc/
http://www.example.com/Abc/
http://www.example.com/ABC/

Hostnames, however, are always converted to lowercases before compared.