Hello Everyone,
I am trying to install a site on the apache http server, all my application code is placed on the ibm websphere (i.e. jsps,classes,servlets), apache http server is just recieving the request, which are all forwarded to the websphere, now the problem is that static resources (stylesheets,images,and index.html file [this index.html file redirects the call the servlet deployed on the websphere]) which are deployed on the apache http server are not being looked in the right directory, due to which the application is not being accesed through the url, there are already a site installed on this server and its working fine, i wanna have the new site working with the same hostname but with the different directory path in the url (so that means that i dont need to create a seperate virualhost, all i need to do is to create an alias in my opinion in the httpd.conf file and map it to the directory where application resources are placed but this is not working for me, as the site is not loading at all). Can anyone suggest as to what is going wrong or is there anything i am missing out, i have copied the entry which i have inserted in the httpd.conf file for the alias.
Alias /wle/ /opt/HTTPServer/htdocs/wle/
<Directory "/opt/HTTPServer/htdocs/wle/">
Options Indexes MultiViews
AllowOverride None
# Controls who can get stuff from this server.
order allow,deny
allow from all
</Directory>
Thanks in advance.
Farhan.
I am trying to install a site on the apache http server, all my application code is placed on the ibm websphere (i.e. jsps,classes,servlets), apache http server is just recieving the request, which are all forwarded to the websphere, now the problem is that static resources (stylesheets,images,and index.html file [this index.html file redirects the call the servlet deployed on the websphere]) which are deployed on the apache http server are not being looked in the right directory, due to which the application is not being accesed through the url, there are already a site installed on this server and its working fine, i wanna have the new site working with the same hostname but with the different directory path in the url (so that means that i dont need to create a seperate virualhost, all i need to do is to create an alias in my opinion in the httpd.conf file and map it to the directory where application resources are placed but this is not working for me, as the site is not loading at all). Can anyone suggest as to what is going wrong or is there anything i am missing out, i have copied the entry which i have inserted in the httpd.conf file for the alias.
Alias /wle/ /opt/HTTPServer/htdocs/wle/
<Directory "/opt/HTTPServer/htdocs/wle/">
Options Indexes MultiViews
AllowOverride None
# Controls who can get stuff from this server.
order allow,deny
allow from all
</Directory>
Thanks in advance.
Farhan.