[Webware-discuss] problems with psp pages...

Hello,
I have a client who has some psp pages that they need to be able to run on
their Apache web server. I searched around on the web, and came across the
Webware Webkit, and I believe this is the proper product that I need to get
these pages working.
Here's my configuration:
RedHat 7.3
Apache 1.3.27-2
Python 2.2.2
I have followed the install instructions, and I am able to access the webkit
thru the /cgi-bin/wkcgi location. I can view the PSPTest pages and it all
seems to be working.
However, I need to configure the server so that I can run .psp pages from
anyplace on the server, similar to how .php pages work. I found the
information in the docs about this, and have added the following lines to my
apache httpd.conf:
# attempting to get .psp files to run anywhere, using the webware webkit..
<Location /WK>
WKServer localhost 8086
SetHandler webkit-handler
</Location>
AddHandler psp-handler .psp
Action py-serverpages /WK/
AddType py-serverpages .py
Now, when I try to run .psp pages, I get an error page with the traceback
window. Since I have no knowledge of python, this is hard for me to
diagnose.
I'm not sure if there's a problem with the script or not, so I tried the
PSPTests.psp script to see if I could get that working in a different
directory. I copied everything from the /var/www/Webware/PSP/Examples
directory into /var/www/html/PSPTest, but when I go to PSPTest/PSPTests.psp,
I am presented with an error page again. It doesn't seem like I have .psp
pages working outside of the wkcgi interface... but I'm lost as to why not.
Here's some links to the server pages... maybe someone with a little more
knowledge than myself can look at them quickly and find out where I've gone
wrong:
PSP Examples page:
http://pegasus.brophy.com/PSPTest/PSPTests.psp
<http://pegasus.brophy.com/PSPTest/PSPTests.psp&gt;
and the page that started it all:
http://pegasus.brophy.com/gorey_folder/welcome.psp
<http://pegasus.brophy.com/gorey_folder/welcome.psp&gt;
I'm at a loss as to what to try next, so any help is _greatly_ appreciated.
Thanx!
Kevin

Thread view

Hello,
I have a client who has some psp pages that they need to be able to run on
their Apache web server. I searched around on the web, and came across the
Webware Webkit, and I believe this is the proper product that I need to get
these pages working.
Here's my configuration:
RedHat 7.3
Apache 1.3.27-2
Python 2.2.2
I have followed the install instructions, and I am able to access the webkit
thru the /cgi-bin/wkcgi location. I can view the PSPTest pages and it all
seems to be working.
However, I need to configure the server so that I can run .psp pages from
anyplace on the server, similar to how .php pages work. I found the
information in the docs about this, and have added the following lines to my
apache httpd.conf:
# attempting to get .psp files to run anywhere, using the webware webkit..
<Location /WK>
WKServer localhost 8086
SetHandler webkit-handler
</Location>
AddHandler psp-handler .psp
Action py-serverpages /WK/
AddType py-serverpages .py
Now, when I try to run .psp pages, I get an error page with the traceback
window. Since I have no knowledge of python, this is hard for me to
diagnose.
I'm not sure if there's a problem with the script or not, so I tried the
PSPTests.psp script to see if I could get that working in a different
directory. I copied everything from the /var/www/Webware/PSP/Examples
directory into /var/www/html/PSPTest, but when I go to PSPTest/PSPTests.psp,
I am presented with an error page again. It doesn't seem like I have .psp
pages working outside of the wkcgi interface... but I'm lost as to why not.
Here's some links to the server pages... maybe someone with a little more
knowledge than myself can look at them quickly and find out where I've gone
wrong:
PSP Examples page:
http://pegasus.brophy.com/PSPTest/PSPTests.psp
<http://pegasus.brophy.com/PSPTest/PSPTests.psp&gt;
and the page that started it all:
http://pegasus.brophy.com/gorey_folder/welcome.psp
<http://pegasus.brophy.com/gorey_folder/welcome.psp&gt;
I'm at a loss as to what to try next, so any help is _greatly_ appreciated.
Thanx!
Kevin

Hello,=20
I have a client who has some psp pages that they need to be able to run =
on their Apache web server. I searched around on the web, and came =
across the Webware Webkit, and I believe this is the proper product that =
I need to get these pages working.
=20
Here's my configuration:
RedHat 7.3
Apache 1.3.27-2
Python 2.2.2
=20
I have followed the install instructions, and I am able to access the =
webkit thru the /cgi-bin/wkcgi location. I can view the PSPTest pages =
and it all seems to be working.
=20
However, I need to configure the server so that I can run .psp pages =
from anyplace on the server, similar to how .php pages work. I found =
the information in the docs about this, and have added the following =
lines to my apache httpd.conf:
=20
# attempting to get .psp files to run anywhere, using the webware =
webkit..
<Location /WK>
WKServer localhost 8086
SetHandler webkit-handler
</Location>
=20
AddHandler psp-handler .psp
Action py-serverpages /WK/
AddType py-serverpages .py
=20
=20
Now, when I try to run .psp pages, I get an error page with the =
traceback window. Since I have no knowledge of python, this is hard for =
me to diagnose.
=20
I'm not sure if there's a problem with the script or not, so I tried the =
PSPTests.psp script to see if I could get that working in a different =
directory. I copied everything from the /var/www/Webware/PSP/Examples =
directory into /var/www/html/PSPTest, but when I go to =
PSPTest/PSPTests.psp, I am presented with an error page again. It =
doesn't seem like I have .psp pages working outside of the wkcgi =
interface... but I'm lost as to why not.
=20
Here's some links to the server pages... maybe someone with a little =
more knowledge than myself can look at them quickly and find out where =
I've gone wrong:
=20
PSP Examples page:
http://pegasus.brophy.com/PSPTest/PSPTests.psp
=20
and the page that started it all:
http://pegasus.brophy.com/gorey_folder/welcome.psp
=20
I'm at a loss as to what to try next, so any help is _greatly_ =
appreciated.
=20
Thanx!
=20
Kevin

Kevin Hanser wrote:
> I have a client who has some psp pages that they need to be able to run
> on their Apache web server. I searched around on the web, and came
> across the Webware Webkit, and I believe this is the proper product that
> I need to get these pages working.
I would not automatically assume that the PSP pages your client wants to
run were for Webware/WebKit. There are actually quite a few completely
unrelated efforts out there to implement some kind of PSP style
solution. This could be your problem.
I tried to go to your links to take a look, but can't get to them at all.
...Edmund.

Hi Kevin,
I would take a look at the traceback, but the site is not responding.
Can you restart Webware?
Thanks,
Sean
-----Original Message-----
From: webware-discuss-admin@...
[mailto:webware-discuss-admin@...] On Behalf Of Kevin
Hanser
Sent: Wednesday, April 30, 2003 10:48 AM
To: 'webware-discuss@...'
Subject: [Webware-discuss] problems with psp pages...
Hello,
I have a client who has some psp pages that they need to be able to run
on their Apache web server. I searched around on the web, and came
across the Webware Webkit, and I believe this is the proper product that
I need to get these pages working.
Here's my configuration:
RedHat 7.3
Apache 1.3.27-2
Python 2.2.2
I have followed the install instructions, and I am able to access the
webkit thru the /cgi-bin/wkcgi location. I can view the PSPTest pages
and it all seems to be working.
However, I need to configure the server so that I can run .psp pages
from anyplace on the server, similar to how .php pages work. I found
the information in the docs about this, and have added the following
lines to my apache httpd.conf:
# attempting to get .psp files to run anywhere, using the webware
webkit..
<Location /WK>
WKServer localhost 8086
SetHandler webkit-handler
</Location>
AddHandler psp-handler .psp
Action py-serverpages /WK/
AddType py-serverpages .py
Now, when I try to run .psp pages, I get an error page with the
traceback window. Since I have no knowledge of python, this is hard for
me to diagnose.
I'm not sure if there's a problem with the script or not, so I tried the
PSPTests.psp script to see if I could get that working in a different
directory. I copied everything from the /var/www/Webware/PSP/Examples
directory into /var/www/html/PSPTest, but when I go to
PSPTest/PSPTests.psp, I am presented with an error page again. It
doesn't seem like I have .psp pages working outside of the wkcgi
interface... but I'm lost as to why not.
Here's some links to the server pages... maybe someone with a little
more knowledge than myself can look at them quickly and find out where
I've gone wrong:
PSP Examples page:
http://pegasus.brophy.com/PSPTest/PSPTests.psp
and the page that started it all:
http://pegasus.brophy.com/gorey_folder/welcome.psp
I'm at a loss as to what to try next, so any help is _greatly_
appreciated.
Thanx!
Kevin