[Users] php on jboss

René Koch rkoch at linuxland.at
Mon Mar 24 13:18:56 UTC 2014


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.

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 at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>



More information about the Users mailing list