
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.. if i want to run a PHP file, where should i save it? -- -Aditya Mamidwar

------=_Part_2328460_609729504.1395663545654 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit JBoss doesn't execute PHP. You'll need to setup an alternate server to do this -- perhaps an Apache instance. Greg ----- Original Message -----
From: "aditya mamidwar" <aditya.mamidwar@gmail.com> To: engine-devel@ovirt.org, users@ovirt.org Sent: Monday, March 24, 2014 8:11:01 AM Subject: [Users] php on jboss
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..
if i want to run a PHP file, where should i save it?
-- -Aditya Mamidwar
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
I have the HTML where as .PHP residing in the same location, can someone g= uide on uploading PHP files on JBOSS server, since ovirt runs on it..</div>= <div><br></div><div>if i want to run a PHP file, where should i save it?</d= iv><div><br></div>-- <br>-Aditya Mamidwar</div><br>________________________= _______________________<br>Users mailing list<br>Users@ovirt.org<br>http://=
------=_Part_2328460_609729504.1395663545654 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"font-family: times new roman, new york, times, se= rif; font-size: 12pt; color: #000000"><div>JBoss doesn't execute PHP.</div>= <div><br></div><div>You'll need to setup an alternate server to do this -- = perhaps an Apache instance.</div><div><br></div><div>Greg</div><div><br></d= iv><hr id=3D"zwchr"><blockquote style=3D"border-left:2px solid #1010FF;marg= in-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:norma= l;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12p= t;" data-mce-style=3D"border-left: 2px solid #1010FF; margin-left: 5px; pad= ding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-= decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;= "><b>From: </b>"aditya mamidwar" <aditya.mamidwar@gmail.com><br><b>To= : </b>engine-devel@ovirt.org, users@ovirt.org<br><b>Sent: </b>Monday, March= 24, 2014 8:11:01 AM<br><b>Subject: </b>[Users] php on jboss<br><div><br></= div><div dir=3D"ltr"><br clear=3D"all"><div>i need a php file to execute so= me bash scripts on the server, but when i integrate the ui-plugin ot the ov= irt portal, it does not find path to my .php file.</div><div><br></div><div= lists.ovirt.org/mailman/listinfo/users<br></blockquote><div><br></div></div=
</body></html> ------=_Part_2328460_609729504.1395663545654--

------=_Part_2333351_194949040.1395664760813 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit I stand corrected: http://www.jboss.org/jbossweb/modules/php.html ----- Original Message -----
From: "Greg Sheremeta" <gshereme@redhat.com> To: "aditya mamidwar" <aditya.mamidwar@gmail.com> Cc: engine-devel@ovirt.org, users@ovirt.org Sent: Monday, March 24, 2014 8:19:05 AM Subject: Re: [Users] php on jboss
JBoss doesn't execute PHP.
You'll need to setup an alternate server to do this -- perhaps an Apache instance.
Greg
----- Original Message -----
From: "aditya mamidwar" <aditya.mamidwar@gmail.com>
To: engine-devel@ovirt.org, users@ovirt.org
Sent: Monday, March 24, 2014 8:11:01 AM
Subject: [Users] php on jboss
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..
if i want to run a PHP file, where should i save it?
--
-Aditya Mamidwar
_______________________________________________
Users mailing list
Users@ovirt.org
------=_Part_2333351_194949040.1395664760813 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"font-family: times new roman, new york, times, se= rif; font-size: 12pt; color: #000000"><div>I stand corrected: <a href= =3D"http://www.jboss.org/jbossweb/modules/php.html" data-mce-href=3D"http:/= /www.jboss.org/jbossweb/modules/php.html">http://www.jboss.org/jbossweb/mod= ules/php.html</a><br></div><div><br></div><hr id=3D"zwchr"><blockquote styl= e=3D"border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#= 000;font-weight:normal;font-style:normal;text-decoration:none;font-family:H= elvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Greg Sheremeta" &l= t;gshereme@redhat.com><br><b>To: </b>"aditya mamidwar" <aditya.mamidw= ar@gmail.com><br><b>Cc: </b>engine-devel@ovirt.org, users@ovirt.org<br><= b>Sent: </b>Monday, March 24, 2014 8:19:05 AM<br><b>Subject: </b>Re: [Users= ] php on jboss<br><div><br></div><div style=3D"font-family: times new roman= , new york, times, serif; font-size: 12pt; color: #000000"><div>JBoss doesn= 't execute PHP.</div><div><br></div><div>You'll need to setup an alternate = server to do this -- perhaps an Apache instance.</div><div><br></div><div>G= reg</div><div><br></div><hr id=3D"zwchr"><blockquote style=3D"border-left:2= px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:no= rmal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,san= s-serif;font-size:12pt;"><b>From: </b>"aditya mamidwar" <aditya.mamidwar= @gmail.com><br><b>To: </b>engine-devel@ovirt.org, users@ovirt.org<br><b>= Sent: </b>Monday, March 24, 2014 8:11:01 AM<br><b>Subject: </b>[Users] php = on jboss<br><div><br></div><div dir=3D"ltr"><br clear=3D"all"><div>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.</= div><div><br></div><div>I have the HTML where as .PHP residing in the same = location, can someone guide on uploading PHP files on JBOSS server, since o= virt runs on it..</div><div><br></div><div>if i want to run a PHP file, whe= re should i save it?</div><div><br></div>-- <br>-Aditya Mamidwar</div><br>_= ______________________________________________<br>Users mailing list<br>Use= rs@ovirt.org<br>http://lists.ovirt.org/mailman/listinfo/users<br></blockquo= te><div><br></div></div></blockquote><div><br></div></div></body></html> ------=_Part_2333351_194949040.1395664760813--

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

----- Original Message -----
From: "René Koch" <rkoch@linuxland.at> To: "aditya mamidwar" <aditya.mamidwar@gmail.com> Cc: engine-devel@ovirt.org, users@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On Mon, 24 Mar 2014 09:23:39 -0400 (EDT) Alon Bar-Lev <alonbl@redhat.com> wrote:
You can put custom files under /usr/share/ovirt-engine/files it will be available for you at: http://<>/ovirt-engine/files
unix-style nitpicking... hier(7): /usr This directory is usually mounted from a separate partition. It should hold only sharable, read-only data, so that it can be mounted by various machines running Linux.
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.
j.

----- Original Message -----
From: "Jiri Belka" <jbelka@redhat.com> To: "Alon Bar-Lev" <alonbl@redhat.com> Cc: "René Koch" <rkoch@linuxland.at>, engine-devel@ovirt.org, "aditya mamidwar" <aditya.mamidwar@gmail.com>, users@ovirt.org Sent: Monday, March 24, 2014 3:32:40 PM Subject: Re: [Users] php on jboss
On Mon, 24 Mar 2014 09:23:39 -0400 (EDT) Alon Bar-Lev <alonbl@redhat.com> wrote:
You can put custom files under /usr/share/ovirt-engine/files it will be available for you at: http://<>/ovirt-engine/files
unix-style nitpicking...
hier(7):
/usr This directory is usually mounted from a separate partition. It should hold only sharable, read-only data, so that it can be mounted by various machines running Linux.
So? Why can't html, images and such be placed there?
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.
j.
participants (5)
-
aditya mamidwar
-
Alon Bar-Lev
-
Greg Sheremeta
-
Jiri Belka
-
René Koch