• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Subdomain - variable Mod Rewrite doesnt work. Please help

So let me get clear on what you are trying to accomplish at this point (I still have not fully read the entire thread, most of it).

You are trying to solve the issue with sessions being terminated due to the change in URL from your using variable subdomain names?

Would it not be easier to change the way you store the php session info? Instead of the session being validated by URL/HTTP request, use another method for sessions.

Otherwise, give me the name and version of the software you are using and I will see if I can set it up on a test server to replicate your conditions. If that software is not GNU or does not have at least a time trial version, then I will not be able to replicate your conditions.
 
yap. that's what i want to achieve.

The session is lost because of the mod rewrite. I guese the reason why is that the subdomain i generated through mod_rewrite still references the subdomain directory not the main domain directory where my session cookies are located.
I'm thinking if there's a way to mod_rewrite the subdomain and will point the sub directories to the root subdomain then it might work.

What software ? I'm using Plesk 7.5 running linux, the site is based on phpbb. php and mysql.

Thank you very much.
 
Back
Top