php - Laravel 4 ssl subdomain redirects to main domain -


i have installed laravel 4 in subdomain app.domain.com , main domain on wordpress. app.subdomain.com on laravel 4 framework works perfectly, when run ssl https://app.subdomain.com show main domain content, wordpress site.

i have wildcard certificate subdomain.

is there mods in .htaccess need change?

thanks.

my hosting hostmonster. im using addon domain sub domain.

here's sub domain .htaccess

<ifmodule mod_rewrite.c>     options -multiviews     rewriteengine on      rewritecond %{request_filename} !-d     rewritecond %{request_filename} !-f     rewriterule ^ index.php [l] </ifmodule> 

main domain (wordpress)

# begin wordpress <ifmodule mod_rewrite.c> rewriteengine on rewritebase / rewriterule ^index\.php$ - [l] rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d rewriterule . /index.php [l] </ifmodule>  # end wordpress 

seems main domain vhost overwrites ssl subdomain of project. if disable it, , restart apache, app still unreachable?

because don't need changes in laravel and/or htaccess this.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -

php - Accessing static methods using newly created $obj or using class Name -