Web Hosting Vodahost    

Home Take The Royal Tour! Order Now Features Prices
Go Back   Web Hosting > VodaHost Web Hosting Support > General Support Issues

Notices

General Support Issues Answers to general questions and help with common problems. For help with a specific issue, post to one of the forums below.

Closed Thread
 
Thread Tools
  #1  
Old 03-25-2008, 04:50 AM
Staff Sergeant
 
Join Date: Apr 2006
Posts: 46
Default Effects of modifying .htaccess file

I'm considering a program for my site, and getting a quote on some modifications.

One of these is to run the same program from multiple subdomains, retaining the domain name after redirection.

I'm being told the way to do this is to modify .htaccess to have the line "DirectoryIndex home.php" added.

Now this is ringing alarm bells for me, and I'm not sure why.

Whats the effect of adding that line into this file ? Especially on the exiting site and existing subdomain that have nothing to do with the reason for the modification.

I'm being told that new subdomains cannot have any subdirectories, and this is whats ringing the alarm bells.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #2  
Old 03-25-2008, 04:53 AM
Karen Mac's Avatar
General & Forum Moderator
 
Join Date: Apr 2006
Location: X marks the spot
Posts: 8,474
Send a message via MSN to Karen Mac
Default Re: Effects of modifying .htaccess file

Well your subdomain is a sub directory, you can put folders within the subdomain tho. Without know what you are doing and the program and what it needs its difficult to say. You can easily alter your htaccess file with notepad and load it back up, and if something doesnt work right you delete it and put the old one back up. Its not difficult and the results arent permanent .. its just a way of directing how certain progams load etc. and where.

Karen
__________________
KMAC Enterprise
Missouri Free Classified Ads
Charming Noveltees~Sports Logos Charms

I've learned that artificial intelligence is no match for natural stupidity!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #3  
Old 03-25-2008, 05:08 AM
Staff Sergeant
 
Join Date: Apr 2006
Posts: 46
Default Re: Effects of modifying .htaccess file

More details then.

The program in question is a shopping Mall. Basically a shopping cart system that multiple people can use with their own unique payment and other options.

In getting this idea going, the group I was discussing it with could not agree on a domain name, so I thought of asking for the ability to have as many as wanted.

The idea is that the domain name used in the browser will determine the logo and Titling in the Mall that is seen.

My concern is in how the redirecting is done. And the fact that the person doing the quoting is not communicating with me well enough for me to be totally sure about what he is saying, and I have the horrible feeling he is making assumptions that will come as a shock to me if its done this way. So I'm trying to find out what he is not telling me.

I already have a domain and a subdomain, neither of which have any part in the new mall plans.

Yet the .htaccess file is at the top of the site tree, and feels to me like any general change like the command they want to place, will ahve all sorts of unanticipated effects.

Thats why I'm after an idea of what adding that command actually does.

For example, if after adding that line, my primary and existing subdomain suddenly run the home.php file it refer to instead of their existing index.html's, then this is a very unwelcome thing to be happening. If subdomains can thereafter not have a blog or forum added to them because the mall gets run instead automatically, then this also is undesirable.

Can you see what I'm getting at ? The behaviour of that command once its inserted is very important, but I dont understand what it does. Hence the question.

Edit : I've only found one .htaccess file. Is this a one of file for the entire site, or can they be put into each subdomain ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT +1. The time now is 03:18 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC7
2005-2009 VodaHost Web Hosting Your Perfect Web Host - All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203