Webster+ Help

Started by Davinder Singh1, January 15, 2025, 04:19:58 PM

Previous topic - Next topic

Davinder Singh1


Hi everyone,
I need some assistance in getting Webster+ up and running, at least on the main page. Here's what I have done so far:

  • I installed Webster+ from the PxPlus console using the default port number and Apache server.
  • I moved two files:
    pxp.cgi to /usr/lib/cgi-bin/ directory
    webster-8088.conf to etc/apache2/conf-available directory

However, when I try to run it from the browser, I don't see any results. Are there any additional steps I need to follow to get it working?
Thanks!

Devon Austen

I am not sure just putting the .conf in the conf-available directory is enough to have that configuration used. You may need to use the a2enconf command to enable the configuration. This is a guess based on the existence of that directory. Please consult your Apache documentation for the exact setup for your Apache.

After updating Apache configuration you need to restart the Apache server for it to use the new configuration.

Principal Software Engineer for PVX Plus Technologies LTD.

Mike King

The conf-available sites need to be enabled.

Check out: https://geek-university.com/conf-available-directory/

Generally the -available directory contains sites that CAN be enabled with links place in the conf-enabled directory. 

Note: This is generally used in recent Debian/Ubuntu configurations to make enabling/disabling sites easier and does not exist in all Linux installations.

Mike King
President - BBSysco Consulting
eMail: mike.king@bbsysco.com

Davinder Singh1

Thank you, Mike and Devon. I enabled the
webster_8088.conf file, but when I access the server using the IP address:8088 in the browser, it downloads a file instead of displaying the webpage.


Mike King

That likely means the pxp.cgi file is not being found or used. 

Generally the Apache configuration directs the system that any file request ending in .pxp will be handled by the pxp.cgi script.  This is done by the "Action pxplus-srvr /cgi-bin/pxp.cgi" and "AddHandler pxplus-srvr .pxp .pvp" directives.

Its possible your pxp.cgi file is not in the correct directory.  Generally it is in the document root cgi-bin subdirectory based on the site configuration.  For example if your site document root is /var/www/mysite then the pxp.cgi normally would be in /var/www/mysite/cgi-bin.
Mike King
President - BBSysco Consulting
eMail: mike.king@bbsysco.com

Davinder Singh1

 Hi Mike, I'm trying to run Webster+ with EZWeb and thought it would be simpler than Apache, where I choose the directory where the PxPlus license is installed. I ran ./ezweb_8088.sh, but when I try in the browser, nothing shows, although running /pxp/pxplus '*ezweb/server' -arg 8080 does display something in the browser attached below. Do you think any additional steps are needed for EZWeb too?

Davinder Singh1

 
When I run EZWeb, I expect the PxPlus process to be running, but I don't see any process after running ./ezweb_8080.sh. I'm also unable to load the program for debugging because it is password protected. Any help would be appreciated.

Mike King

Davinder,

Your image indicates the system thinks you are running iNomads and not Webster+.  For Webster+ you need three arguments; the port, the PEM file (if running secure mode else ""), and the root directory for Webster.

So your .sh file should be something like;

 /pxp/pxplus '*ezweb/server' -arg 8080 '' /var/www/sitename/docroot

Mike King
President - BBSysco Consulting
eMail: mike.king@bbsysco.com

Davinder Singh1

When I run
/pxp/pxplus '*ezweb/server' -arg 8080 from the command line, I see the attached screenshot, 

but when I run
./ezweb_8080.sh-
Value in ./ezweb_8080.sh is
"/pxp/pxplus" "*ezweb/server" -arg 8080 "/pxp/" /pxp/ezweb/docroot >/dev/null <>
nothing happens, and I don't see any PxPlus process running after starting the EZ webserver.


hope this helps in understanding the issue. Webster+ for EZWeb is located in /pxp/ezweb, and I have the START_UP program along with other directories like Data, Prog, etc.

Do you think permissions could be causing the problem, or is it something else?

Devon Austen

Looks like the issue may be your path to a certificate /pxp/ is just a directory and not a .PEM file path.

When doing the Webster+ install make sure to use a path that includes the filename of the .PEM file.
Principal Software Engineer for PVX Plus Technologies LTD.

Davinder Singh1

so it should look like this?

/pxp/pxplus" "*ezweb/server" -arg 8080 "/pxp/sslcert.pem" /pxp/ezweb/docroot >/dev/null <>

Davinder Singh1

Not working... Seems like port 8080 is not listening for EZweb..

Any thoughts?

Davinder Singh1

#12
Could someone provide the complete steps to install Webster+ on either Apache2 or EZWeb on Ubuntu system? I tried to follow pxplus manual but no luck
In Addition can some explain how to tell it is actually running on the system? Right now i cant find a way to check that out.

Please help if possible. :)

Mike King

#13
Davinder

Did you open port 8080 on the Ubuntu firewall? 

Ubuntu, and to be honest almost ALL Linux distributions come with all ports blocked by some form of firewall.  The challenge is knowing how to unblock the port since not all Linux versions use the same firewall program/methodology.

What I generally find is the easiest is to run something like the following on the server to make sure the port is open and accessible:

OPEN (1) "[tcp];8080"
WHILE 1
READ RECORD (1,END=*BREAK) R$
PRINT R$
WEND

Then I go to an external workstation and issue:

OPEN (1) "[tcp]serverIP;8080"
WRITE RECORD (1) "Hello World"
WRITE RECORD (1) "Kilroy was here"
CLOSE (1)

On the server you should see the data written.

Should the OPEN fail you can generally assume the port is blocked (or you have the wrong IP address).

This approach will help identify if the port is open and accessible.
Mike King
President - BBSysco Consulting
eMail: mike.king@bbsysco.com

Davinder Singh1

Thank you Guys. i was able to jump on the Webster+ default page. Due to the SSL certificate expired command was failing.

I jump on the system and tried to create the Admin and password but when i am trying to login i was getting attached error.

Do i need to move the files to specific location? right now all the Webster+ files are stored under /pxp/ezweb directory

Please help?

Also if i want to launch IDE from Linux environment can i do it from Pxplus console?