Halfagain IM Forums
February 10, 2012, 06:42 *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Due to increasing spam we are forced to make this forum "Read Only". If you have an issue, most likely was discussed here. Use the Search function and try to find related discussions. If you can't find any helpful information, just email support at halfagain dot com"
 
   Home   Help Login Register  
Pages: 1 [2]
  Print  
Author Topic: 404 Error for existing Files  (Read 5634 times)
0 Members and 1 Guest are viewing this topic.
getondaground
Newbie
*

Karma: 1
Offline Offline

Posts: 5


WWW
« Reply #15 on: September 04, 2008, 18:20 »

Quote from: Omar
You will need some modification to htaccess if you plan to put other folders inside a sst install, beside the script folders. So for each folder you create you have to add one more line after RewriteBase /

Lines will look like below, based on what folders you create

RewriteRule   ^blog(.*)$     -     [L]
RewriteRule   ^images(.*)$     -     [L]
RewriteRule   ^some-fodler-name(.*)$     -     [L]
RewriteRule   ^etc(.*)$     -     [L]
...
and then comes the rest of lines. keep it intact.



Do I Need A Program To Edit .htaccess. I've been trying to get google verifed for three days now
Logged

Omar
Here to help.
Administrator
Hero Member
*****

Karma: 10001
Offline Offline

Posts: 2687


« Reply #16 on: September 14, 2008, 08:16 »

any text editor is ok
Logged
twostep
Newbie
*

Karma: 1
Offline Offline

Posts: 19


« Reply #17 on: September 14, 2008, 17:52 »

Omar is right that he can't predict what a developer is going to add well enough to provide for it right out of the box. The .htaccess coding is slippery at best. On an especially bad day you can even get an infinite loop!

What I would like to see added is a tutorial style doc section explaining what must be done to .htaccess when you add files that are outside the original SS installed folders. With lots of good examples as well. This is the advanced stuff because the "perl regular expression" substitution syntax used in .htaccess is some of the most obscure notations ever foisted on unsuspecting users.

So unless you are a bored techno-wizard with apache server (that controls .htaccess), the advice that could save your blood pressure and avoid large amounts of stress is to find a home for your new files in the existing paths.
Logged
Omar
Here to help.
Administrator
Hero Member
*****

Karma: 10001
Offline Offline

Posts: 2687


« Reply #18 on: September 14, 2008, 18:28 »

Well.. there are just 2 types of lines to be added, one for folders and one for normal files and they are both explained in this thread. I am not sure what an extensive tutorial could add more.
Logged
twostep
Newbie
*

Karma: 1
Offline Offline

Posts: 19


« Reply #19 on: September 15, 2008, 02:53 »

I think the length of this thread speaks for us both. It's a subject that obviously confuses people. I have fairly good experience with Apache, and it still bites me. The syntax and when it's needed are both obscure. Even some of the discussions of it refer to it as "mystic".

I think the minimum is a page or two in the installation instructions listing the when, why and how in cookbook style. Searching for just what's needed on this thread and others is laborious, time consuming and doesn't give the definitive cookbook do-this-this-and-this answer a person is looking for.
Logged
Omar
Here to help.
Administrator
Hero Member
*****

Karma: 10001
Offline Offline

Posts: 2687


« Reply #20 on: September 15, 2008, 08:04 »

The length of this thread is irrelevant given the fact that it has posts like "Do I Need A Program To Edit .htaccess" and other similar. I can not write 2 pages about 2 lines of code. If you can, feel free to post it and i will publish it.
Logged
royalmice
Jr. Member
**

Karma: 9
Offline Offline

Posts: 148


WWW
« Reply #21 on: December 21, 2008, 04:41 »

Cant believe all the dumb ass questions being asked around this forum. SS out of the box works just fine and if you want to mess with the code or any files then you learn first how.
 This is like buying a car and now you want to rebuild the engine yourself, but instead of go studying mechanics you now start asking the car sales man how to do it.....
htacess editor - LOL -- ever heard of NOTEPAD ??

Sorry but i needed to voice my opinion 
« Last Edit: December 21, 2008, 04:43 by royalmice » Logged

The best Hosting or your Store Stacker site with plenty of freebies, only at http://bh-server.com
Pages: 1 [2]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!