htaccess

Mike's Notes

I learn something new every day.

Resources

References

  • Reference

Repository

  • Home > Ajabbi Research > Library >
  • Home > Handbook > 

Last Updated

17/05/2025

Article

By: Mike Peters
On a Sandy Beach: 19/05/2025

Mike is the inventor and architect of Pipi and the founder of Ajabbi.

Ajabbi.com now has a draft website, along with several subdomains.

The problem to solve was that the domain and each subdomain needed to go into their own separate root directory to simplify FTP uploads. There are 20,000 pages of documentation in pre-rendered HTML to upload, which is not a trivial issue.

The different websites on Apache Web Server all use the same cPanel to manage them. I have never used Apache before. Pipi 3 and 4 used IIS. So a bit of a learning curve for me.

"cPanel is web hosting control panel software developed by cPanel, L.L.C. It provides a graphical interface (GUI) and automation tools designed to simplify the process of hosting a web site to the website owner or the "end user". It enables administration through a standard web browser using a three-tier structure. While cPanel is limited to managing a single hosting account, cPanel & WHM allows the administration of the entire server. ..." - Wikipedia

Plesk

The version I use is called Plesk.

The .htaccess file had to have a redirect added and written in Perl, which I have yet to learn, so GreenGeeks provided excellent support and edited the file.

It was

RewriteRule ^(.*)$ /subdirectory/$1

qwq

RewriteRule ^(.*)$ /ajabbi.com/$1

And it works perfectly.

No comments:

Post a Comment