Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: imagemaps on a localhost



On Wed, 31 Jul 1996, Jim Schweizer wrote:

> <a href="file://cgi-bin/imagemap/hdd2/webmaster/imagemaps/map1.map">
> <img src="testmap.gif" ISMAP></a>
> 
> I also tried with <a href="http://cgi-bin.....> but no luck. 
> 

1) try   http://localhost/cgi-bin

2) open the file /usr/local/etc/httpd/conf/srm.conf

3) set your DocumentRoot to 
	DocumentRoot /usr/local/etc/httpd/htdocs

4) if it still doesn't work try this
	ScriptAlias /cgi-bin/ /usr/local/etc/httpd/cgi-bin/

5) do a 

 	# cat /etc/hosts

make sure it has

	127.0.0.1	localhost

6) verify that the httpd server is running:

niji:/etc# ps |grep httpd
   91 psf 9 N   0:00 /usr/local/etc/httpd/httpd
  352 s31 3 N   0:00 grep httpd
   98 psf 9 N   0:00 /usr/local/etc/httpd/httpd
   99 psf 9 N   0:00 /usr/local/etc/httpd/httpd
  100 psf 9 N   0:00 /usr/local/etc/httpd/httpd
  101 psf 9 N   0:00 /usr/local/etc/httpd/httpd
  102 psf 9 N   0:00 /usr/local/etc/httpd/httpd

7) if the server is not running, start it:

	/usr/local/etc/httpd/httpd

If it still doesn't work, post again.  I can try to disconnect
my machine and replicate a standalone.  I think the above should
work.  I vaguely remember doing something like this in the past.




-------------
Craig Oda 	craig@example.com	
TWICS - Japan's First Public-Access Internet System, 
   TWICS - IEC Building, 1-21 Yotsuya, Shinjuku-ku, Tokyo 160 JAPAN
Main Reception: 03-3351-5977	Fax: +81-3-3353-6096
Customer Service: 3351-5481   Corporate Sales/Support: 3351-8452

-----------------------------------------------------------------
a word from the sponsor will appear below
-----------------------------------------------------------------
The TLUG mailing list is proudly sponsored by TWICS - Japan's First
Public-Access Internet System.  Now offering 20,000 yen/year flat
rate Internet access with no time charges.  Full line of corporate
Internet and intranet products are available.   info@example.com
Tel: 03-3351-5977   Fax: 03-3353-6096


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links