• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multiple CG installations on multiple subdomains

I've set up a subdomain http://devtest.localhost
Which points to 'C:/xampp/htdocs/sub_domains/devtest'

I've also modified the config file to include 'http:/devtest.localhost/' as the base_url.

All seems to be working fine except I'm guessing the routing being done.
<?php echo form_open_multipart('upload/do_upload');?>

It generates the correct action url : "http:/devtest.localhost/index.php/upload/do_upload".
However when I click on submit I get redirected to: http://devtest.localhost/devtest.localho.../do_upload

In htdocs/ I have the following .htaccess file:
RewriteEngine on
RewriteCond $1 !^(index\.php|user_guide|sub_domains|resources|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]

Any ideas?

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.