Sorry, I've never used a Windows server. I run Apache even on my local Windows machine.
gauravsaini99999, check with GoDaddy. If your account with GoDaddy is relatively new (last few years), then it is not likely you are on a Windows server - unless you asked to be. Most web hosts now use Linux, not Windows. They offer Windows for people who need that environment, for example, if the site is written using VBScript, or maybe if you have a MS SQL Server database. The web hosting companies have to buy a Microsoft license for each Windows server, and they get Linux for free... so they are going to use Linux wherever and whenever they can. GoDaddy probably has 24/7 support, so call, or email, or live chat and ask them.
I am also having a wrestling match with FURLs, and I am hoping that you'll get help with your question and then I can glean a solution too. :~)
Dennis
-
☆ A M B ☆
- 1,780 Posts
Quote from: BobRay at Jan 21, 2015, 01:36 PMSorry, that should RewriteBase and it should end with a slash:
Sorry for questioning you Bob, but are you sure this should end with a slash?
from the ht.access that ships with MODX...
# Make sure RewriteBase points to the directory where you installed MODX.
# E.g., "/modx" if your installation is in a "modx" subdirectory.
No apology necessary. I'm wrong all the time.
I've never seen a Rewrite Base without a slash, but I have read of cases where it works without one. The MODX default is a slash, though, so it makes sense that it would end in one.
-
☆ A M B ☆
- 1,780 Posts
You are rarely wrong Bob! Which is why it feels weird questioning you.
I've always used the rewriteBase without the slash for subfolder installs, regardless of local or not. I was wondering because I suggested that another poster remove the slash to solve some issues here, and wondered if I was suggesting something incorrectly.
https://forums.modx.com/thread/95851/quick-easy-question-about-menu-and-resource-page-numbers?page=3#dis-post-519084
I have a working subfolder install (dev version) running on a SkyToaster server, just checked the .htaccess and it's not appended.
Susan knows a lot more about this stuff than I do, so she can probably inform both of us.
-
☆ A M B ☆
- 24,524 Posts
Apache/nginx at least doesn't seem to care, although out of habit I always add the trailing slash.
You can wade through this if you're really interested in the nitty-gritty details.
http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html#rewritebase
[ed. note: sottwell last edited this post 11 years, 8 months ago.]
You did rename ht.access to .htaccess in the MODX root directory, right?
Hi bob, in the httpdocs folder, there are two files now .. one is ht.access and one is .htaccess which has exactly the same contents as the ht.access file. i kept that just as a backup.. am i still doing something wrong ?