Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

.htaccess ADMIN ISSUE- POSSIBLE SOLUTION

Quote Reply
.htaccess ADMIN ISSUE- POSSIBLE SOLUTION
For all those out there having troubles getting their .htaccess to work here is a possible solution:

All that is needed to be done was to edit your
/www/conf/vhosts.conf file and change the permission for the cgi-bin.
AllowOverride was 'None' needed to be changed to 'All'
Your password protection should possibly work.
# Make sure the /usr/local/www/cgi-bin is the full directory to what your server is reading under that directory. If you don't know how, telnet to your server and
change into the cgi-bin dir: Type pwd for the entire path and then put that in place of mine.

Hope this helps!

ScriptAlias /cgi-bin /usr/local/www/cgi-bin
<Directory "/usr/local/www/cgi-bin">
AllowOverride All
Options None
Order allow,deny
Allow from all
</Directory>


http://www.3denterprises.com
http://www.3denterprises.com/link.swf
Quote Reply
Re: .htaccess ADMIN ISSUE- POSSIBLE SOLUTION In reply to
Uh yes but not many people have access to vhosts.conf and secondly pretty much all paid UNIX webhosts allow .htaccess anyway.

I don't remember reading many threads by people having the problem you just meantioned. Maybe from people using Windows servers.....but that is to do with the fact that they can't use .htaccess not because it isn't allowed in the conf files.

Paul
Installations:http://wiredon.net/gt/
Support: http://wiredon.net/forum/

Quote Reply
Re: .htaccess ADMIN ISSUE- POSSIBLE SOLUTION In reply to
I realize that however I was just offering another possible solution to why some can't get .htaccess to work on their systems.

http://www.3denterprises.com
http://www.3denterprises.com/link.swf
Quote Reply
Re: .htaccess ADMIN ISSUE- POSSIBLE SOLUTION In reply to
Good suggestions, but like Paul said, most people on virtual accounts do not have access to that config file.

And most of the .htaccess problems stem from the following:

1) Not using current codes that work with current versions of web server software, like Apache 1.3.6 and above...

2) Not having shell/telnet access to accounts.

3) Not taking the time to read their hosting company's documentation about setting up password protected directories and also not taking the time to search this site for suggestions on how to properly set-up htaccess files.

Not because their accounts have not been properly configured, which is what you are alluding to.

Regards,

Eliot Lee
Quote Reply
Re: .htaccess ADMIN ISSUE- POSSIBLE SOLUTION In reply to
I know AnthroRules, I just ran into this problem recently and instead of banging your head against the wall wondering what you did wrong it's possible that your server was the problem the entire time. That's why I posted it as a suggestive measure to take since alot of people don't know much about the conf files.

http://www.3denterprises.com
http://www.3denterprises.com/link.swf
Quote Reply
Re: .htaccess ADMIN ISSUE- POSSIBLE SOLUTION In reply to
In Reply To:
.....alot of people don't know much about the conf files.
Bit of a generalization don't you think.

Paul
Installations:http://wiredon.net/gt/
Support: http://wiredon.net/forum/

Quote Reply
Re: .htaccess ADMIN ISSUE- POSSIBLE SOLUTION In reply to
Why would I want you to bang my head against the wall???

(..."banging your head against the wall wondering what you0 did wrong it's possible that your server was the problem the entire time.")

Uh...you might want to consider some English classes....or simply speak in the first person when you are giving an anecdotal example.

Regards,

Eliot Lee
Quote Reply
Re: .htaccess ADMIN ISSUE- POSSIBLE SOLUTION In reply to
Geez.. I didn't know I was under such scrutiny. I guess my two cents are worth nothing. I think it will probably be best that I not post anything anymore.
Quote Reply
Re: .htaccess ADMIN ISSUE- POSSIBLE SOLUTION In reply to
I'm sure some people will find your tip useful but I was just pointing out that it is not practical for some and not the solution for others......that's all.

Maybe Eliot was a bit harsh about your Englsh....I know I'd find it impossible to get my point across at a german/french forum...

EDIT:
Hmm I can't even speak English myself and I'm from England!

Paul
Installations:http://wiredon.net/gt/
Support: http://wiredon.net/forum/

Quote Reply
Re: .htaccess ADMIN ISSUE- POSSIBLE SOLUTION In reply to
I'm from the US. It's a shame were critiqued now by our English. As far as I'm concerned, take a closer look at other post. Atleast I can spell most of the time.

http://www.3denterprises.com
http://www.3denterprises.com/link.swf
Quote Reply
Re: .htaccess ADMIN ISSUE- POSSIBLE SOLUTION In reply to
You have just done what you were angry at Eliot for doing....

In Reply To:
Atleast I can spell most of the time.
Paul
Installations:http://wiredon.net/gt/
Support: http://wiredon.net/forum/

Quote Reply
Re: .htaccess ADMIN ISSUE- POSSIBLE SOLUTION In reply to
Oh well! Yet another day I guess..

http://www.3denterprises.com
http://www.3denterprises.com/link.swf