Skip to main content

Thread: How to get CGI script to run instead of index.html?


hello , happy new year!

have ubuntu 8.04 server running apache2 , allow cgi script executed when visitors come site.

purpose of determine browser visitor using , redirect them relevant version of site.

how done?

in advance,
ubu

quote posted ubukunubi view post
hello , happy new year!

have ubuntu 8.04 server running apache2 , allow cgi script executed when visitors come site.

purpose of determine browser visitor using , redirect them relevant version of site.

how done?

in advance,
ubu
well in php. make php script , name index.php. read user's headers sent along request page. , determine browser php , use links redirect. simple , part of php.net tutorial.


Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] How to get CGI script to run instead of index.html?


Ubuntu

Comments

Popular posts from this blog

DHT11 Time out error using v0.4.1library

Sketch upload fails with Java error (___REMOVE___/bin/avrdude)!

Arduino Uno + KTY81/210 temperature sensor