[opencms-dev] dealing with php with opencms
Gaith Bader
gaithb at cse.unsw.edu.au
Wed Aug 16 01:51:40 CEST 2006
Hello Phil,
Yes, Indeed, I realised that I needed to add the php to the
extensions of files they should export first :-) now the export does
work just fine, the php files work just fine, however, the paths are
not right anymore..
what I mean is for example... if the php file test.php is located in /
sites/site1/about/test.php the the page I want to access via the
static export is at :
http://mysite.com/export/sites/site1/about/test.php
Now, is there a way to make the file work as if it it's correct place
at http://mysite.com/about/test.php ?
thanks for your help,
Gaith
On 14/08/2006, at 6:55 PM, Philip Kuss wrote:
Hi Gaith,
I dont have my email for answering to the list available right now, so I
answer you directly.
We are doing a static export as well and some pages that serve dynamic
content are written in php as well.
Is the place you export the pages to serves by apache ?
You should first check if your apache and php server parts a
configured well.
Our scenario is that opencms exports its contents static into a file
system which is served by the apache and not more by the tomcat server.
For a simple test - just create a file in the realm where you export the
files and where php should work like test.php.
Just type into them
<?php
phpinfo();
?>
by accessing this file directly you should see some php output
concerning
your installed version.
If this file is not process and you are sure it is served by the
apache -
then check logs of the apache.
Best regards,
Phil
Hello List,
I am wondering for the developers who needed to use some php pages
with their OpenCms site, how did you go about doing it? some told me
I need to export the pages, if I do a static export the pages still
are not read, it just draws a blank when I try to go to a php page.
I have OpenCms 6.2.2 with apache2(php5 module installed for it).
If anyone can help here it would be fully appreciated, and lots of
good karma would come your way... :-)
Cheers,
Gaith
On 12/08/2006, at 3:58 AM, Fabian Huschka wrote:
Hello List,
we have been working with OpenCms for a year or so - ever since we
wonder if it is possible to revoke a published online resource.
To give an expample:
- One has published a resource
- Resource becomes outdated, needs an overhaul and likewise shall
not be
any longer accessible by the public
Currently we can only think of the following four solutions which all
tend to be pretty time consuming.
a) Make a hardcopy of the resource in question within the offline
system
and delete the orginial one, publish and rename the hardcopy to the
original name
b) Set the "Availability" to a date in the past which has the downturn
that one may no longer utilize the direct edit feature on this
resource
c) Change the file permissions to prevent the public from accessing
the
published resource
d) Tinker with the database
Did I miss anything or is this just something no one ever thought of?
Best regards,
\Fabian
--
componio GmbH
Robert-Bosch-Straße 7
D - 64293 Darmstadt
Tel: +49.6151.500.367.11
Office: +49.6151.500.367.0
Fax: +49.6151.500.367.3
Internet: http://www.componio.net
E-Mail: componio at componio.net
_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list,
please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev
_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please
visit
http://lists.opencms.org/mailman/listinfo/opencms-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060816/57f9ecf0/attachment.htm>
More information about the opencms-dev
mailing list