Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

pros and cons of htaccess?

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  .htaccess to use mod_speling  
Author Message
bl8n8r

External


Since: Nov 20, 2003
Posts: 3



(Msg. 1) Posted: Thu Nov 20, 2003 7:35 am
Post subject: pros and cons of htaccess?
Archived from groups: alt>apache>configuration (more info?)

Hello,
I'm setting up a website for file transfer for a small
number of users - about 100. I will need a way for
each user to login and see a different list of files
depending on who they are.

My options are roll my own cgi user/pass main page,
or use "htaccess" files. I don't know anything about php
other than it looks cool.

what are the drawbacks of htaccess? It doesnt sound like
its the first choice of the majority.

thanks

 >> Stay informed about: pros and cons of htaccess? 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 2) Posted: Thu Nov 20, 2003 3:39 pm
Post subject: Re: pros and cons of htaccess? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

bad_knee <bl8n8r RemoveThis @yahoo.com> wrote:
 > I'm setting up a website for file transfer

"file transfer" ? What happen to FTP?

 > what are the drawbacks of htaccess?

AFAIK none.
Davide<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: pros and cons of htaccess? 
Back to top
Login to vote
powerflow

External


Since: Oct 20, 2003
Posts: 7



(Msg. 3) Posted: Thu Nov 20, 2003 4:46 pm
Post subject: Re: pros and cons of htaccess? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"bad_knee" <bl8n8r.DeleteThis@yahoo.com> wrote in message
news:e817ca4d.0311200435.76946539@posting.google.com...
 > Hello,
 > I'm setting up a website for file transfer for a small
 > number of users - about 100. I will need a way for
 > each user to login and see a different list of files
 > depending on who they are.
 >
 > My options are roll my own cgi user/pass main page,
 > or use "htaccess" files. I don't know anything about php
 > other than it looks cool.
 >
 > what are the drawbacks of htaccess? It doesnt sound like
 > its the first choice of the majority.
 >
 > thanks

ftp is the only way to go in my opinion. If you get your
self a good php download data base program like pafiledb
<a style='text-decoration: underline;' href="http://www.phparena.net/" target="_blank">http://www.phparena.net/</a> and link the files to be downloaded
to any site you wish. I have mine linked to my ftp on a file by
file basses so the client will never see a browser, just a save to
screen. You can throttle ftp so you don't use up all your bandwidth
on just downloads you can limit number of DL users at one time.
you can lock DL if you want. I use a free ftp server called FileZilla
<a style='text-decoration: underline;' href="http://sourceforge.net/projects/filezilla/" target="_blank">http://sourceforge.net/projects/filezilla/</a> for Win32.

Here is my DL data base have a look.
<a style='text-decoration: underline;' href="http://horndog.game-host.org/pafiledb/pafiledb/pafiledb.php" target="_blank">http://horndog.game-host.org/pafiledb/pafiledb/pafiledb.php</a>

Regards,
Stuart<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: pros and cons of htaccess? 
Back to top
Login to vote
patpro1

External


Since: Nov 20, 2003
Posts: 40



(Msg. 4) Posted: Thu Nov 20, 2003 4:52 pm
Post subject: Re: pros and cons of htaccess? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <bpiclp$1oo9p3$1@ID-18487.news.uni-berlin.de>,
Davide Bianchi <davideyeahsure.DeleteThis@onlyforfun.net> wrote:

 > bad_knee <bl8n8r.DeleteThis@yahoo.com> wrote:
  > > I'm setting up a website for file transfer
 >
 > "file transfer" ? What happen to FTP?

I guess FTP is not that easy to implement, and many things can interfer
with it (proxy, firewall, nat, ...) and requires a dedicated client.
Using HTTP (port 80) is easier, most of the time.

  > > what are the drawbacks of htaccess?
 >
 > AFAIK none.

enabling htaccess file will slow down Apache, it's really important to
disable it completely if you need real maximum performance.
But here, it's not an issue I guess.

patpro<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: pros and cons of htaccess? 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 5) Posted: Thu Nov 20, 2003 4:52 pm
Post subject: Re: pros and cons of htaccess? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

patpro <patpro RemoveThis @boleskine.patpro.net> wrote:
 > and requires a dedicated client.

??? you can use a normal browser as an FTP client, and a basic
client is present in EVERY Os.

 > enabling htaccess file will slow down Apache

Enabling every kind of user/password authentication will slow down
Apache.

Davide<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: pros and cons of htaccess? 
Back to top
Login to vote
spam3

External


Since: Jul 01, 2003
Posts: 411



(Msg. 6) Posted: Thu Nov 20, 2003 5:35 pm
Post subject: Re: pros and cons of htaccess? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Davide Bianchi wrote:

 > patpro <patpro.DeleteThis@boleskine.patpro.net> wrote:
 >
  >>and requires a dedicated client.
 >
 > ??? you can use a normal browser as an FTP client, and a basic
 > client is present in EVERY Os.
 >

You obviously don't have to deal with clients that are computer
illiterate... Sometimes it's a task to get them to type in something
like: <a style='text-decoration: underline;' href="ftp://example.com" target="_blank">ftp://example.com</a> or worse yet, <a style='text-decoration: underline;' href="ftp://username@example.com" target="_blank">ftp://username@example.com</a>

When it comes to expaining FTP client software - forget it... Wink

--
Justin Koivisto - spam.DeleteThis@koivi.com
PHP POSTERS: Please use comp.lang.php for PHP related questions,
alt.php* groups are not recommended.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: pros and cons of htaccess? 
Back to top
Login to vote
spam3

External


Since: Jul 01, 2003
Posts: 411



(Msg. 7) Posted: Thu Nov 20, 2003 6:06 pm
Post subject: Re: pros and cons of htaccess? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

bad_knee wrote:

 > Hello,
 > I'm setting up a website for file transfer for a small
 > number of users - about 100. I will need a way for
 > each user to login and see a different list of files
 > depending on who they are.
 >
 > My options are roll my own cgi user/pass main page,
 > or use "htaccess" files. I don't know anything about php
 > other than it looks cool.

Here, this may be of interest to you: <a style='text-decoration: underline;' href="http://wafisher.koivi.com/" target="_blank">http://wafisher.koivi.com/</a>
User: file
Pass: upload

It's a PHP/MySQL solution that I have developed for the company I work
for. If you want to learn more, drop me an email.

--
Justin Koivisto - spam.TakeThisOut@koivi.com
PHP POSTERS: Please use comp.lang.php for PHP related questions,
alt.php* groups are not recommended.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: pros and cons of htaccess? 
Back to top
Login to vote
bl8n8r

External


Since: Nov 20, 2003
Posts: 3



(Msg. 8) Posted: Thu Nov 20, 2003 6:06 pm
Post subject: Re: pros and cons of htaccess? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Justin Koivisto <spam.TakeThisOut@koivi.com> wrote in message news:<sL4vb.1080$Uz.33541@news7.onvoy.net>...
 > bad_knee wrote:
 >
  > > Hello,
  > > I'm setting up a website for file transfer for a small
  > > number of users - about 100. I will need a way for
  > > each user to login and see a different list of files
  > > depending on who they are.
  > >
  > > My options are roll my own cgi user/pass main page,
  > > or use "htaccess" files. I don't know anything about php
  > > other than it looks cool.
 >
<font color=purple> > Here, this may be of interest to you: <a style='text-decoration: underline;' href="http://wafisher.koivi.com/</font" target="_blank">http://wafisher.koivi.com/</font</a>>
 > User: file
 > Pass: upload
 >
 > It's a PHP/MySQL solution that I have developed for the company I work
 > for. If you want to learn more, drop me an email.


Thanks Justin, I just checked it out.
That's a really nice looking interface!

It seems a lot of stuff is php these days.
I should really get this project up-and-running
with the tools I have first, and then learn
some php. Thanks for the email offer. I will
take you up on that when I get into it Smile<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: pros and cons of htaccess? 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 9) Posted: Thu Nov 20, 2003 6:42 pm
Post subject: Re: pros and cons of htaccess? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Justin Koivisto <spam.DeleteThis@koivi.com> wrote:
 > You obviously don't have to deal with clients that are computer
 > illiterate...

No, my users aren't "computer illiterate", they are just plain
fscking MORONS! This is why I teached them how to use a browser to
operate on <a style='text-decoration: underline;' href="http://ftp." target="_blank">ftp.</a>

Davide<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: pros and cons of htaccess? 
Back to top
Login to vote
patpro1

External


Since: Nov 20, 2003
Posts: 40



(Msg. 10) Posted: Thu Nov 20, 2003 7:11 pm
Post subject: Re: pros and cons of htaccess? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <bpido7$1ocmc6$1@ID-18487.news.uni-berlin.de>,
Davide Bianchi <davideyeahsure.RemoveThis@onlyforfun.net> wrote:

 > patpro <patpro.RemoveThis@boleskine.patpro.net> wrote:
  > > and requires a dedicated client.
 >
 > ??? you can use a normal browser as an FTP client, and a basic
 > client is present in EVERY Os.

and we all know their great quality... Smile


  > > enabling htaccess file will slow down Apache
 >
 > Enabling every kind of user/password authentication will slow down
 > Apache.

I don't even talk about user auth. Just the "AlloOverride ALL" will slow
down Apache. And btw, htaccess is not limited to user auth.

I quote <a style='text-decoration: underline;' href="http://httpd.apache.org/docs/misc/perf-tuning.html#runtime" target="_blank">http://httpd.apache.org/docs/misc/perf-tuning.html#runtime</a> :

------------------------
AllowOverride

Wherever in your URL-space you allow overrides (typically .htaccess
files) Apache will attempt to open .htaccess for each filename
component. For example,

DocumentRoot /www/htdocs
<Directory />
AllowOverride all
</Directory>


and a request is made for the URI /index.html. Then Apache will attempt
to open /.htaccess, /www/.htaccess, and /www/htdocs/.htaccess. The
solutions are similar to the previous case of Options FollowSymLinks.
For highest performance use AllowOverride None everywhere in your
filesystem.

See also the .htaccess tutorial for further discussion of this.
-------------------------



patpro<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: pros and cons of htaccess? 
Back to top
Login to vote
bl8n8r

External


Since: Nov 20, 2003
Posts: 3



(Msg. 11) Posted: Fri Nov 21, 2003 9:57 am
Post subject: Re: pros and cons of htaccess? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"HornDog" <powerflow.RemoveThis@comcast.net> wrote in message

<snip>

 >
 > ftp is the only way to go in my opinion. If you get your
 > self a good php download data base program like pafiledb
 > <a style='text-decoration: underline;' href="http://www.phparena.net/" target="_blank">http://www.phparena.net/</a> and link the files to be downloaded
 > to any site you wish. I have mine linked to my ftp on a file by
 > file basses so the client will never see a browser, just a save to
 > screen. You can throttle ftp so you don't use up all your bandwidth
 > on just downloads you can limit number of DL users at one time.
 > you can lock DL if you want. I use a free ftp server called FileZilla
 > <a style='text-decoration: underline;' href="http://sourceforge.net/projects/filezilla/" target="_blank">http://sourceforge.net/projects/filezilla/</a> for Win32.
 >
 > Here is my DL data base have a look.
<font color=purple> > <a style='text-decoration: underline;' href="http://horndog.game-host.org/pafiledb/pafiledb/pafiledb.php</font" target="_blank">http://horndog.game-host.org/pafiledb/pafiledb/pafiledb.php</font</a>>
 >
 > Regards,
 > Stuart


I would rather use ftp too, and we have been for a couple years.
A web based interface is easier and more familiar for the majority
of customers however, and unhappy/disgruntled customers are not
conducive to good business.

I like your download page, as well as the one Justin posted. Very
clean looking, and organized.

Maybe I'll just forgo the perl "cgi-lib" stuff, and go read some
php howtos.

Thanks again
bl8n8r<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: pros and cons of htaccess? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
HTACCESS - Hi All! I am very new with Apache and for now I am running apache localy. http://127.0.0.1 gets my index up and running! So that works fine! What I am trying to do is to resolve a name like http://thatsme.lan and make a subdirectory like..

Need help with .htaccess - Hi, I'm a newbie to apache. I just create a .htpasswd .htaccess in my ~/www/.htaccess and ~/www.htpasswd. OS Solaris 8 ..htaccess file AuthType Basic AuthName "Secret Section. Password Required" AuthUserFile /www/.htpasswd Require valid-u...

what is .htaccess ? - Hi Ive recently purchased an apache webserver from am ISP which i access through webmin. In there i can access the file: httpd.conf This file appears to hold all the config. In here i can make changes, setup websites etc. I have been reading up o...

.htaccess to use mod_speling - I'm using a remote host, but they do allow me to create an .htaccess file. This is my first attempt at using the .htaccess file, and since it's not working I don't know if I'm doing something wrong. I'm trying to use the module mod_speling. According to...

.htaccess redirect - Is it possible to do something similar to this ... redirect http://www.widget.com/index.html http://www.newwidget.com/index.html If not, an alternative idea? Thanks
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]