On a server, how many. One at the root where my CMS is located, one in its Admin folder, one in the folder that has my forum installation, and another one somewhere else.
Most just have a few lines, not much at all Am i right in deleting all those other files? My site is www. That your users should get to your site from one or the other but not both. I read a little bit that using a redirect helps I deleted the file and uploaded a generic file from a site i was reading Im kinda stubborn in wanting to try to figure stuff out myself first, but this stuff doesnt come easy to me and most of my progress is very slow do to much trial and error error error error Thanks for the help.
Because one could be for your forums. Thanks Mario, If I go with second option you have specified, then what will happen to those redirects which will be added through cPanel. Where will those rules be placed? You'll have to copy them over manually. Such GUI editors might even screw things up. Btw, if you have so many rules, then look into a RewriteMap alternatively either with text files or rules in a SQL database.
Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Explaining the semiconductor shortage, and how it might end. Does ES6 make JavaScript frameworks obsolete? Featured on Meta. Now live: A fully responsive profile. Related Hot Network Questions. Connect and share knowledge within a single location that is structured and easy to search.
I have 4 sites hosted with the same ISP. The sites were modified endless times, and now, I have several. One of the is at the main root. The others are spread in different places. For example, they appear also on the root of every URL. To explain it better, I'll call one site A and the second B.
So now, I have the. I assume that these files have to be only on the root oh the public. Am I right? There isn't a single "active". Without knowing how your server is configured or what is actually in these. They all work together. It affects the directory where the. Server permitting, all. So, in your example, the. However, different modules are processed independently across config files, which isn't necessarily the order in which the directives appear within any single. This would be an ideal; for easy maintainance.
However, as mentioned above, they can occur anywhere. Depending on what you are doing, it may not even be desirable to have all directives in a common. But neither should you arbitrarily disperse directives across the filesystem.
0コメント