Go Back   vb.org Archive > Community Central > Community Lounge
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #31  
Old 11-09-2004, 12:58 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachery
Not for lazy people at all, its for busy people, if i had a line of servers i wouldnt want to go and run a ton of updates on serveral servers, recompiling apache php mysql every time there is an update on every box could become very time consuming, instead i can just click a few buttons or run a script in ssh and bam, its all done for me.
I admit it, I AM LAZY. I have quite a few servers running my forums and I like the cPanel scripts. I don't use Fantastico, and nobody should be using .htaccess - you should disable it and use mod_rewrite in httpd.conf instead.
Reply With Quote
  #32  
Old 11-09-2004, 04:16 AM
Natch's Avatar
Natch Natch is offline
 
Join Date: Nov 2002
Location: Australia
Posts: 851
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Erwin
...and nobody should be using .htaccess - you should disable it and use mod_rewrite in httpd.conf instead.
re: not using .htaccess: Why do you say that, Doc?
Reply With Quote
  #33  
Old 11-09-2004, 07:44 AM
AlexanderT's Avatar
AlexanderT AlexanderT is offline
 
Join Date: Mar 2003
Posts: 294
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Erwin
nobody should be using .htaccess - you should disable it and use mod_rewrite in httpd.conf instead.
This is not making sense. First, why should nobody be using .htaccess?

Second, how does mod_rewrite be an alternative to .htaccess? mod_rewrite is a module that uses a rule-based rewriting engine to rewrite requested URLs on the fly. .htaccess USES mod_rewrite when it comes to parsing rewrite rules within .htaccess. But .htaccess is more; it allows you to set access rules in a per-directory context. How would you do that with mod_rewrite?
Reply With Quote
  #34  
Old 11-09-2004, 11:26 AM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by paulyy
True, but I was actually referring to the user end with all the Fantastico and htaccess password directory functions
Oh I don't use fantastico :/ its the devil
Reply With Quote
  #35  
Old 11-09-2004, 02:03 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AlexanderT
This is not making sense. First, why should nobody be using .htaccess?

Second, how does mod_rewrite be an alternative to .htaccess? mod_rewrite is a module that uses a rule-based rewriting engine to rewrite requested URLs on the fly. .htaccess USES mod_rewrite when it comes to parsing rewrite rules within .htaccess. But .htaccess is more; it allows you to set access rules in a per-directory context. How would you do that with mod_rewrite?
It's far quicker server-side to have all your rules within the httpd.conf file
Reply With Quote
  #36  
Old 11-09-2004, 10:25 PM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dean C
It's far quicker server-side to have all your rules within the httpd.conf file
Exactly.

You remove the apache's need to check EVERY single directory for .htaccess when it can all be done in httpd.conf.
Reply With Quote
  #37  
Old 11-09-2004, 10:27 PM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Add this to httpd.conf to stop lookup for .htaccess:

AllowOverride None
Options None

Then, add your .htaccess rules into httpd.conf itself - it's basically similar to what you would put in .htaccess.
Reply With Quote
  #38  
Old 11-09-2004, 10:28 PM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AlexanderT
This is not making sense. First, why should nobody be using .htaccess?

Second, how does mod_rewrite be an alternative to .htaccess? mod_rewrite is a module that uses a rule-based rewriting engine to rewrite requested URLs on the fly. .htaccess USES mod_rewrite when it comes to parsing rewrite rules within .htaccess. But .htaccess is more; it allows you to set access rules in a per-directory context. How would you do that with mod_rewrite?
You can specify each directory in httpd.conf with respect to rules. Trust me, it will reduce your server load if you have heavy web access. In any case, feel free to research this yourself - don't take my word for it.
Reply With Quote
  #39  
Old 11-10-2004, 02:06 AM
Natch's Avatar
Natch Natch is offline
 
Join Date: Nov 2002
Location: Australia
Posts: 851
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this: I will have to look into the research on the http.conf and how best to share access to this between two server admins !! maybe use a CVS system to make modifications?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:22 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04637 seconds
  • Memory Usage 2,253KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete