Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- Allow public cgi-bin access


gsx - 9:01 pm on Aug 17, 2002 (gmt 0)


I currently have a couple of CGI scripts that create relatively static pages from a database. They are performed dynamically because they are shop products, there are over 3000 products, so static files are not really feasible.

Google cannot spider the cgi-bin as my host has disabled that by default (nor can people visit from google's result - I can see google has attempted to spider as it lists the cgi files when I search on my domain name).

Is it possible to allow public access to the CGI files, with the referrer checking off? Can it be done in .htaccess?

I have seen:

<Directory "/web/cgi-bin">
Options ExecCGI
Order allow,deny
Allow from all
</Directory>

Would this be correct? Or is there a better way, where I can specify individual files rather than a directory?


Thread source:: http://www.webmasterworld.com/apache/14.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com