igor92128 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 27 Jun 2004 Posts: 156 Location: California
|
Posted: Sun May 08, 2005 6:17 pm Post subject: iSQLPlus Virtual Host Problem |
|
|
Hello,
I just installed Oracle and I use the iSQLPlus web app. It usually starts at this URL: http://www.myhost.net:5560/isqlplus and I want to make it a virtual host for a cleaner URL. Here is my Virtual Host Section:
Code: |
Listen 80
Listen 5560
...
NameVirtualHost *:80
#NameVirtualHost *:5560
#If I uncomment the above line, I get this error when trying to restart Apache:
#httpd not running, trying to start
#(98)Address already in use: make_sock: could not bind to address 0.0.0.0:5560
#no listening sockets available, shutting down
#Unable to open logs
<VirtualHost *:5560>
ServerAdmin igor12@san.rr.com
DocumentRoot /usr/lib/oracle/client/oc4j/j2ee/oc4j_applications/applications/isqlplus/isqlplus
ServerName sql.myhost.net
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "/var/www/localhost/myhost"
MonoApplicationsConfigDir "/etc/mono"
<Directory "/var/www/localhost/myhost">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
AddHandler mono .aspx .ascx .asax. .ashx .config .cs .asmx
</Directory>
</VirtualHost>
|
Also, as I was typing this message, I added to this line:
DirectoryIndex index.html index.html.var dbalogin.jsp
to signify dbalogin.jsp as the index file, but I still get connection refused.
I set the DocumentRoot to the path that looked like it had all the iSQLPlus login files, and they it runs on JSP. However, when I try to contact the server, I get a connection refused error. Do I need some kind of an Apache mod for virtual hosts running on JSP? Or is it simpler?
Thanks,
Igor |
|