| From | Jayanta B Sarma |
| Date | Fri Apr 30 02:26:09 2010 |
| Subject | [greenstone-users] Conf directives for existing Apache server (GSDL 2.83) |
| In-Reply-To | (mailman-0-1272549984-918-greenstone-users-list-scms-waikato-ac-nz) |
| I installed Greenstone 2.83 on Centos 5 server (with PLESK) in the folder /usr/local/Greenstone without any issue. I do not want to use the apache that installed with Greenstone (so renamed the apache-httpd folder and gs2-server.sh file within the Greenstone folder). I want to use the exisitng apache server and acccess the Greenstone on 'www.archive.necef.in' (this subdomain is fully configured and resolve to my server IP). I have used the following virtual host directive in the /etc/httpd/conf/httpd.conf file which is not right as I only get the default apache 2 test page and not Greenstone installation.
<VirtualHost 212.227.141.247:80> ServerName archive.necef.in:80 ServerAlias www.archive.necef.in DocumentRoot /usr/local/Greenstone ScriptAlias /cgi-bin/ /usr/local/Greenstone/cgi-bin/ </VirtualHost> I am sure this is a matter of putting the right virtual host directives in the /etc/httpd/conf/httpd.conf file. Please help me with the right configuration directive please. I spent hours but could not find this anywhere searching the web and some details on the Wiki will save time to many non-expert like me. Many thanks. J Sarma _________________________________________________________________
| |