suzan24k
12-26-2007, 09:23 PM
Hello,
I'm new to hostmonster and I'm having problems with an addon domain's subdirectory.
The addon domain name is www.suzank.com which at this lowest level isn't set up yet. I have a php/mysql recipe application that I want to work in the subdirectory of www.suzank.com/recipes.
Initially, everything looks good. The index.php page renders perfectly including calls to the MySQL to return recipe category names and record counts. The problem is once I click on a link, the follow up pages don't render. This is working code that I'm transferring from another host. I have seen this problem on another host when the subdirectory was beneath a drupal site and I couldn't figure it out there too. What I did to fix was move the recipe application from underneath the drupal site to file location not under a drupal site. I would like to add that the primary domain I have here on hostmonster is a drupal site, but I am hoping that it won't affect this addon domain.
I have tried tweaking the .htaccess files to no avail. I can't see how my application configuration is wrong since the mysql database calls retrieve properly on the first page. I believe that I should only need to work in the app's config file since all the php code references the config file.
I hope that makes sense to someone and that they know the fix. Seems like something a little trickier than what I know to fix and researching this problem's solution has also been very challenging. Please let me know any ideas on what to fix and if any code should be posted.
Much appreciation.
Suzan
I'm new to hostmonster and I'm having problems with an addon domain's subdirectory.
The addon domain name is www.suzank.com which at this lowest level isn't set up yet. I have a php/mysql recipe application that I want to work in the subdirectory of www.suzank.com/recipes.
Initially, everything looks good. The index.php page renders perfectly including calls to the MySQL to return recipe category names and record counts. The problem is once I click on a link, the follow up pages don't render. This is working code that I'm transferring from another host. I have seen this problem on another host when the subdirectory was beneath a drupal site and I couldn't figure it out there too. What I did to fix was move the recipe application from underneath the drupal site to file location not under a drupal site. I would like to add that the primary domain I have here on hostmonster is a drupal site, but I am hoping that it won't affect this addon domain.
I have tried tweaking the .htaccess files to no avail. I can't see how my application configuration is wrong since the mysql database calls retrieve properly on the first page. I believe that I should only need to work in the app's config file since all the php code references the config file.
I hope that makes sense to someone and that they know the fix. Seems like something a little trickier than what I know to fix and researching this problem's solution has also been very challenging. Please let me know any ideas on what to fix and if any code should be posted.
Much appreciation.
Suzan