Skip to content

RealMelkor/lang302

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lang302

FCGI programs to redirect users to the most appropriate pages based on their HTTP header Accept-Language value.

Configuration example for nginx :

location ~ ^/$  {
    fastcgi_pass    127.0.0.1:9000;
    include         fastcgi_params;
}

Configuration example for OpenBSD httpd :

location "/" {
    fastcgi socket tcp localhost 9000
}

With the default configuration file, this will redirect requests on / to /en or /fr depending on the value of Accept-Language.

About

FastCGI program to redirect requests based on the value of Accept-Language

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published