08-11-2009, 08:59 PM
[eluser]MydKnight[/eluser]
Hey guys,
I'm having some trouble getting my URL's formatted how I want. Before I shoot out the link to everyone, I want to warn that the site I am building is for a gay organization. Nothing X-rated, but stay out if this is a problem.
The "root" url of our website is http://www.abcclubs.com/rework/index.php/welcome/index.
If I try to pull up http://www.abcclubs.com/rework/ , it works, but the image links are broken then. When I click index, it goes to the first site.
What I would want ideally is for http://www.abcclubs.com/rework/welcome/index to work in the same way that http://www.abcclubs.com/rework/index.php/welcome/index works now. The problem is, when I try to do the .htaccess file that is listed in the instructions, I cant bring up http://www.abcclubs.com/rework/ or http://www.abcclubs.com/rework/welcome/index. Furthermore, the second url says "cannot find index.php/welcome/index" when I try to pull it up. I figure that as I am copying the suggested htaccess file exactly, I have something wrong in config. Here is my config file:
/*
|--------------------------------------------------------------------------
| Base Site URL
|--------------------------------------------------------------------------
|
| URL to your CodeIgniter root. Typically this will be your base URL,
| WITH a trailing slash:
|
| http://www.abcclubs.com/rework/
|
*/
$config['base_url'] = "http://www.abcclubs.com/rework/";
/*
|--------------------------------------------------------------------------
| Index File
|--------------------------------------------------------------------------
|
| Typically this will be your index.php file, unless you've renamed it to
| something else. If you are using mod_rewrite to remove the page set this
| variable so that it is blank.
|
*/
$config['index_page'] = '';
There's more..but I think this is where I have something wrong.
Can anyone shed some light on this?
Hey guys,
I'm having some trouble getting my URL's formatted how I want. Before I shoot out the link to everyone, I want to warn that the site I am building is for a gay organization. Nothing X-rated, but stay out if this is a problem.
The "root" url of our website is http://www.abcclubs.com/rework/index.php/welcome/index.
If I try to pull up http://www.abcclubs.com/rework/ , it works, but the image links are broken then. When I click index, it goes to the first site.
What I would want ideally is for http://www.abcclubs.com/rework/welcome/index to work in the same way that http://www.abcclubs.com/rework/index.php/welcome/index works now. The problem is, when I try to do the .htaccess file that is listed in the instructions, I cant bring up http://www.abcclubs.com/rework/ or http://www.abcclubs.com/rework/welcome/index. Furthermore, the second url says "cannot find index.php/welcome/index" when I try to pull it up. I figure that as I am copying the suggested htaccess file exactly, I have something wrong in config. Here is my config file:
/*
|--------------------------------------------------------------------------
| Base Site URL
|--------------------------------------------------------------------------
|
| URL to your CodeIgniter root. Typically this will be your base URL,
| WITH a trailing slash:
|
| http://www.abcclubs.com/rework/
|
*/
$config['base_url'] = "http://www.abcclubs.com/rework/";
/*
|--------------------------------------------------------------------------
| Index File
|--------------------------------------------------------------------------
|
| Typically this will be your index.php file, unless you've renamed it to
| something else. If you are using mod_rewrite to remove the page set this
| variable so that it is blank.
|
*/
$config['index_page'] = '';
There's more..but I think this is where I have something wrong.
Can anyone shed some light on this?