Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-25-2006, 03:13 PM
spandexman spandexman is offline
 
Join Date: Jul 2006
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Where is the .htaccess file?

I need to edit the max upload file size and I read you need to edit the .htaccess file to do this. Where is this file?
Reply With Quote
  #2  
Old 08-25-2006, 03:19 PM
jcr jcr is offline
 
Join Date: Apr 2004
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That is not correct. To change the max upload file size you can do it via Admincp under "attachments"

.htaccess is normally placed in the root folder of your site. It it is not, you can however just make a file in notepad, save it as .htaccess and thats it.

But it does not help you with your cause.

If you want to change the upload limit on your server, you should take it up with your hosting provider.
Reply With Quote
  #3  
Old 08-25-2006, 03:21 PM
ConqSoft's Avatar
ConqSoft ConqSoft is offline
 
Join Date: Jul 2003
Location: Raleigh, NC
Posts: 686
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you don't have a .htaccess, just create one. It's a plain text file.

Try adding this to it:

php_value upload_max_filesize 100M
php_value post_max_size 100M

(Adjust sizes to the max. you wish to set, in megabytes.)
Reply With Quote
  #4  
Old 08-25-2006, 03:23 PM
jcr jcr is offline
 
Join Date: Apr 2004
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Conqsoft: Will this work even though the upload limit is set to 8 ( as it usually is in php.ini ? )
Reply With Quote
  #5  
Old 08-25-2006, 03:24 PM
ConqSoft's Avatar
ConqSoft ConqSoft is offline
 
Join Date: Jul 2003
Location: Raleigh, NC
Posts: 686
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It depends on how the host has it set up. If it's set to allow the .htaccess to override, then it should. It's easy to test. Just create it, put it in your forums directory, and check your AdminCP Quick Stats to see if the Max Post Size increases.
Reply With Quote
  #6  
Old 08-25-2006, 04:04 PM
spandexman spandexman is offline
 
Join Date: Jul 2006
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm using this for the ecdownloads mod.

I created the .htaccess file and put it in my root folder but under quick stats max post and upload size is still 8megs. Any other way to change that value?
Reply With Quote
  #7  
Old 08-25-2006, 04:07 PM
ConqSoft's Avatar
ConqSoft ConqSoft is offline
 
Join Date: Jul 2003
Location: Raleigh, NC
Posts: 686
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If .htaccess rules don't work, your host will need to change the settings in PHP.INI for you.
Reply With Quote
  #8  
Old 08-25-2006, 04:38 PM
spandexman spandexman is offline
 
Join Date: Jul 2006
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do I need to put anything in front of the .htaccess file name? Like x.htaccess?

What would I tell my host to change in the PHP.INI settings? Just say change the max post and filesize to X megs?
Reply With Quote
  #9  
Old 08-25-2006, 04:43 PM
Ntfu2 Ntfu2 is offline
 
Join Date: Feb 2006
Posts: 1,247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no its simply .htaccess if you are on a linux host. If you are on windows, i dont think it supports .htaccess.

If 8M is not enough of a upload for you, then yes you'll have to request that your host increases the size to something, i'd ask for 15M most hosting companies wont go to far beyond that. Chances are good though, depending on your host you'll be stuck with 8M
Reply With Quote
  #10  
Old 08-25-2006, 04:59 PM
spandexman spandexman is offline
 
Join Date: Jul 2006
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm using linux.

Why would your host care how big you let people upload files? Its your bandwidth and space. When I ftp my host I can upload a few hundred megs, so why would using the forum be any different?
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 02:46 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05316 seconds
  • Memory Usage 2,241KB
  • 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
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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_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