If you can't modify the .htaccess file, you can create an alias or route in your web server configuration. However, assuming you don't have access to the web server configuration, you can handle it through a PHP file.
Access the Redirection:
When you navigate to mydomain.com/ucloud, the server should serve the redirect.php file, which will handle the redirection to the specified URL.
Setting up a Simple Login Page(optional):
Create a file called login.php in the ucloud directory.
Add the following basic HTML form for login:
html
Copy code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login</title>
</head>
<body>
<form action="https://mydomain/ucloud/account/login" method="post">
<label for="username">Username:</label>
<input type="text" id="username" name="username" required>
<br>
<label for="password">Password:</label>
<input type="password" id="password" name="password" required>
<br>
<button type="submit">Login</button>
</form>
</body>
</html>
Update Links:
Ensure any internal links point to mydomain.com/ucloud for the redirection and mydomain.com/ucloud/login.php for the login page.