Aaargh! Just lost an entire post during login - please fix your sessions, DO!</rant>
I have an Ubuntu 18.04, Wordpress, MySQL, Litespeed OLS installation and had access to my phpmyadmin via the IP address. I installed the SSL and got that setup and running and now I can’t figure out how to configure OLS to access my phpmyadmin.
I’ve tried putting a static context on the OLS VH to redirect */phpmyadmin/ to the phpmyadmin directory on the server, but I just get the Wordpress 404 error.
Obviously I’m missing something, but I don’t know what.
Any ideas? I’m new to Litespeed server (pls note: NOT using Apache or Nginx, and articles describing how to configure them haven’t been helpful).
Thanks in advance for your help with this!
Regards, Justin
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi @digitalocean1918664677468e,
LiteSpeed does provide an wordpress+openlitespeed+MariaDB+CertBot+phpmyadmin solution image on Marketplace.
So you can just launch and play with it in few minutes.
If you want to manually setup a phpmyadmin context, please see example settings below:
/phpmyadmin/YOUR_PHPMYADMIN_PATHYesindex.php*NoNoBest, Eric
Hi,
Do you mean issue now is visiting phpmyadmin and return a 404 page?
It maybe faster to help you with the issue on LiteSpeed Community on Slack
You can direct message me @eric, or just post your question in random channel.
Best, Eric
OK, Eric helped me with the solution - many thanks for your time and attention, Eric!
We’re in Litespeed Server Admin: Virtual Host > Context > Static
It seems that the URI and the Location don’t quite work the way the tooltips imply - which is that <Location> is appended to the <URI>.
In fact, the Location (which is the directory you’re mapping to) needs to include the directory name itself (not just the path to the directory it’s in).
Example:
URI: /phpmyadmin/
–> this is what’s appended to your VH domain, i.e. what the user accesses: https://www.domain.com/phpmyadmin/
Location /var/www/phpmyadmin/ –> NOT /var/www/
(These are default locations for the DO image I downloaded, YMMV).
Summary: tooltips need updating, plus a How-to maybe?! Thanks!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.