Jump to content

xelax

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

xelax's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi, I've a website with seo friendly urls, like www.domain.com/my/page/here Also I have installed a SSL certificate on the main domain www.* The subdomains don't have one. Now I want only for the www.domain.com that all connections are through the https. I've tried some codes, but it rewrites to the php file (https://www.domain.com/index.php), but it has to rewrite to https://www.domain.com/my/page/here How can I rewrite it to https? many thanks,
  2. Hello, I have problem to redirect a subdomain to another directory. I have: dir1 = /var/www/vhosts/domain.com/httpdocs/ dir2 = /var/www/vhosts/domain.com/subdomain/sub1/httpdocs RewriteEngine on RewriteRule ^/$ /var/www/vhosts/domain.com/httpdocs/ I think it almosts works, but I get a 403 forbidden message when I do this. What is the problem? Or how can I do this correctly so I don't get the 403?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.