Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
319 | minor | always | 07-18-05 00:00 | 11-30-05 14:42 | |
|
|||||
Reporter: | sam | Platform: | |||
Assigned To: | OS: | ||||
Priority: | high | OS Version: | |||
Status: | closed | Product Version: | 3.0.14 | ||
Product Build: | 3.0.14 | Resolution: | fixed | ||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.0.15 | ||
|
|||||
Summary: | 0000319: multiple instances of FastCGIServlet connecting to php | ||||
Description: |
RSN-363 (rep by A Achuthan) With two FastCGIServlet instances, each in a separate virtual host, a request to host1 works but a request to host2 fails. For testing purposes, I added two domain names test1.com and test2.com in /etc/hosts of my local machine and added the it's IP so that both of them resolves to my local server. Then I added the following to my resin.conf : ---------------------------------------------------------------------- <host id='test1.com'> <root-directory>/usr/local/web/test1/</root-directory> <web-app id="/"> <document-directory>webapps/ROOT</document-directory> </web-app> </host> <host id='test2.com'> <root-directory>/usr/local/web/test2/</root-directory> <web-app id="/"> <document-directory>webapps/ROOT</document-directory> </web-app> </host> -------------------------------------------------------------------------- I added the following entries in web.xml for using fastCGI servlet. -------------------------------------------------------------------- <servlet servlet-name="php-fastcgi" servlet-class="com.caucho.servlets.FastCGIServlet"> <init> <server-address>localhost:6666</server-address> </init> </servlet> <servlet-mapping url-pattern="*.php" servlet-name="php-fastcgi"/> ---------------------------------------------------------------------- After setting up everything, I accessed the url of the first domain (test1.com) and it worked fine. But when I accessed the second domain, the server didn't seem responding to the request. The browser just waits forever for the response. Initially I thought there was some configuration problem with the second virtual host. But when I restarted resin and started accessing the second domain first, it worked ! For confirming that the problem is not with the php script, I performed the same tests with simple <?php phpinfo(); ?> script. But it yielded the same results. |
||||
Steps To Reproduce: | |||||
Additional Information: | RedHat 9 | ||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|