----- Original Message -----
From: "René Koch" <rkoch(a)linuxland.at>
To: "aditya mamidwar" <aditya.mamidwar(a)gmail.com>
Cc: engine-devel(a)ovirt.org, users(a)ovirt.org
Sent: Monday, March 24, 2014 3:18:56 PM
Subject: Re: [Users] php on jboss
Hi,
On 03/24/2014 01:11 PM, aditya mamidwar wrote:
>
> i need a php file to execute some bash scripts on the server, but when i
> integrate the ui-plugin ot the ovirt portal, it does not find path to my
> .php file.
>
> I have the HTML where as .PHP residing in the same location, can someone
> guide on uploading PHP files on JBOSS server, since ovirt runs on it..
oVirt uses both - JBoss and Apache. You should place your PHP file in
html dir of Apache, not JBoss.
>
> if i want to run a PHP file, where should i save it?
Just save it to /var/www/html, which is the default location for your
Apache webserver and install PHP module.
I missed this thread.
You can put custom files under /usr/share/ovirt-engine/files it will be available for you
at: http://<>/ovirt-engine/files
Of course we do not support cgi-bin but plain files... but it may address your needs.
Please make sure you have your own subdirectory under files, so no conflicts.
You should be able to browse to
http://ovirt/myfile.php. If not, you
exclude the path in Apache vhost configuration file ovirt-engine.conf:
ProxyPass /myfile.php !
Hope this helps,
Rene
>
> --
> -Aditya Mamidwar
>
>
> _______________________________________________
> Users mailing list
> Users(a)ovirt.org
>
http://lists.ovirt.org/mailman/listinfo/users
>
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users