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!
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.
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.
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.
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.
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?
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.
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
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?
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.
so it should look like this?
/pxp/pxplus" "*ezweb/server" -arg 8080 "/pxp/sslcert.pem" /pxp/ezweb/docroot >/dev/null <>
Not working... Seems like port 8080 is not listening for EZweb..
Any thoughts?
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. :)
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.
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?
I am getting this error as i tried to add
export PXP_SSL_LIB=/usr/lib/x86_64-linux-gnu/libssl.so.3
export PXP_CRYPTO_LIB=/usr/lib/x86_64-linux-gnu/libcrypto.so.3
to ezweb_8080.sh
but after restarting the EZWEB it is giving me this error?
Error has occured:
ERR(Err)............13
ERR(Erx)............130000
ERR(Ret)............269
ERR(OSerr)..........
ERR(Program)......../pxp/lib/_webster/webster
ERR(EntryPoint).....0
ERR(Stno)...........44
ERR(Obj)............0
ERR(Method).........
ERR(Lfa)............32767
ERR(Lfo)............32764
ERR(LastPath).......*memory*
ERR(LastKey)........
ERR(Module).........pvxoop.c
ERR(Line)...........2971
--------------------------
! ERR=13, CTL=0, RET=13
! **********************************************************
! Level=1
! PGN="/pxp/lib/_plus/apache/pxp_cgi"
! Statement......0603
pg$="*default"
r$="00001428%DOCUMENT_ROOT$=""/pxp/ezweb/docroot"""+$0A$+"%DOCUMENT_URL$=$2F776562737465722E707870$"+$0A$+"%HTTP_CONNECTION$=$6B6565702D616C697665$"+$0A$+"%HTTP_COOKIE$=$696E69643D32353031313731363436$"+$0A$+"%HTTP_UPGRADE_INSECURE_REQUESTS$=$31$"+$0A$+"%HTTP_HOST$=$31302E3139332E312E32303A38303830$"+$0A$+"%HTTP_ACCEPT_LANGUAGE$=$656E2D55532C656E3B713D302E39$"+$0A$+"%HTTP_CACHE_CONTROL$=$6D61782D6167653D30$"+$0A$+"%HTTP_ACCEPT_ENCODING$=$677A69702C206465666C617465$"+$0A$+"%HTTP_ACCEPT$=$746578742F68746D6C2C6170706C69636174696F6E2F7868746D6C2B786D6C2C6170706C69636174696F6E2F786D6C3B713D302E392C696D6167652F617669662C696D6167652F776562702C696D6167652F61706E672C2A2F2A3B713D302E382C6170706C69636174696F6E2F7369676E65642D65786368616E67653B763D62333B713D302E37$"+$0A$+"%HTTP_USER_AGENT$=$4D6F7A696C6C612F352E30202857696E646F7773204E542031302E303B2057696E36343B2078363429204170706C655765624B69742F3533372E333620284B48544D4C2C206C696B65204765636B6F29204368726F6D652F3133322E302E302E30205361666172692F3533372E3336204564672F3133322E302E302E30$"+$0A$+"%PATH_TRANSLATED$=$2F7078702F657A7765622F646F63726F6F742F776562737465722E707870$"+$0A$+"%PATH_INFO$=$2F776562737465722E707870$"+$0A$+"%QUERY_STRING$=$$"+$0A$+"%REMOTE_IP$=$31302E3139332E332E3132$"+$0A$+"%REQUEST_METHOD$=""GET"""+$0A$+"%SERVER_PORT=8080"+$0A$+"%SERVER_ADDR$=""10.193.1.20"""+$0A$+"%SERVER_NAME$=$31302E3139332E312E32303A38303830$"+$0A$+"%SERVER_ROOTDIR$=""/pxp/ezweb/docroot"""+$0A$+"%SERVER_PROTOCOL$=$485454502F312E31$"+$0A$+"%SERVER_SOFTWARE$=""EzWeb/Server"""+$0A$+"%CONTENT_LENGTH=0"+$0A$+"%CONTENT_TYPE$=$$"+$0A$+"%Server_Secure=0"+$0A$+"%EZWEB_LOG$=$$"+$0A0A$
url$="/pxp/ezweb/docroot/webster.pxp"
_x$="%CONTENT_TYPE$"
! ----
! Global variables (%...)
%args=-1
%child_timeout=300
%cookie.rcv=1
%debug=1
%ezweb=1
%print_fn=32764
%SERVER_PORT=8080
%true_out=62
%Webster=100003
%CONTENT_TYPE$="text/html"
%DOCUMENT_ROOT$="/pxp/ezweb/docroot"
%document_type$=".pxp"
%document_uri$="/webster.pxp"
%DOCUMENT_URL$="/webster.pxp"
%HTTP_ACCEPT$="text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"
%HTTP_ACCEPT_ENCODING$="gzip, deflate"
%HTTP_ACCEPT_LANGUAGE$="en-US,en;q=0.9"
%HTTP_CACHE_CONTROL$="max-age=0"
%HTTP_CONNECTION$="keep-alive"
%HTTP_COOKIE$="inid=2501171646"
%HTTP_HOST$="10.193.1.20:8080"
%HTTP_UPGRADE_INSECURE_REQUESTS$="1"
%HTTP_USER_AGENT$="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0"
%lang$=".en"
%PATH_INFO$="/webster.pxp"
%PATH_TRANSLATED$="/pxp/ezweb/docroot/webster.pxp"
%pxpcgi_perform$="start_up.web"
%REMOTE_IP$="10.193.3.12"
%REQUEST_METHOD$="GET"
%SERVER_ADDR$="10.193.1.20"
%server_address$="10.193.1.20:8080"
%server_ip$="10.193.1.20"
%SERVER_NAME$="10.193.1.20:8080"
%server_port$="8080"
%SERVER_PROTOCOL$="HTTP/1.1"
%SERVER_ROOTDIR$="/pxp/ezweb/docroot"
%SERVER_SOFTWARE$="EzWeb/Server"
--------------------------
LESSOPEN=| /usr/bin/lesspipe %s
USER=dsingh
SSH_CLIENT=10.193.3.12 62203 22
XDG_SESSION_TYPE=tty
SHLVL=1
MOTD_SHOWN=pam
HOME=/home/dsingh
OLDPWD=/pxp
SSH_TTY=/dev/pts/0
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus
LOGNAME=dsingh
_=./ezweb_8080.sh
XDG_SESSION_CLASS=user
TERM=xterm
XDG_SESSION_ID=552
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
XDG_RUNTIME_DIR=/run/user/1001
LANG=C.UTF-8
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
SHELL=/bin/bash
LESSCLOSE=/usr/bin/lesspipe %s %s
PWD=/pxp/ezweb/docroot
SSH_CONNECTION=10.193.3.12 62203 10.193.1.20 22
XDG_DATA_DIRS=/usr/local/share:/usr/share:/var/lib/snapd/desktop
SGX_AESM_ADDR=1
You should probably test if PxPlus works correctly after setting
export PXP_SSL_LIB=/usr/lib/x86_64-linux-gnu/libssl.so.3
export PXP_CRYPTO_LIB=/usr/lib/x86_64-linux-gnu/libcrypto.so.3
Just start PxPlus and enter this at the prompt in console mode:
OPEN (1)"[TCP]google.com;443;secure"
That should not return an error. If it does show an error, PRINT MSG(-1) will tell you why that is failing.