Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Old 04-23-2009, 08:58 AM .htaccess problem
Skilled Talker

Posts: 97
Trades: 0
i'm working in .htaccess file in the root of my site and i need to upload files..
take a look in the code below

PHP Code:
RewriteEngine on
RewriteCond 
%{HTTP_HOST} ^queen-of-nile.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.queen-of-nile.com$
RewriteRule ^(.*)$ "http\:\/\/www\.egyptholidaytours\.com\/" [R=301,L
is working Well... but i need to change the max_exceution_time to upload large file size but it did not work and it shows me an Error (below code)
PHP Code:
RewriteEngine on
RewriteCond 
%{HTTP_HOST} ^queen-of-nile.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.queen-of-nile.com$
RewriteRule ^(.*)$ "http\:\/\/www\.egyptholidaytours\.com\/" [R=301,L]
 
# You can set this in scripts with ini_set()
php_admin_value max_execution_time "120" 
The Error is
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@egyptholidaytours.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.


ALL THAT I NEED IS TO UPLOAD LARGE FILE BUT I DONT KNOW HOW TO CHANGE IT

plz i need help
john_zakaria is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-25-2009, 04:39 AM Re: .htaccess problem
nayes84's Avatar
Extreme Talker

Latest Blog Post:
Difference between ASP And JSP
Posts: 232
Name: John
Location: Tokyo
Trades: 0
php_admin_value directive can't be used in .htaccess file
try using
Code:
php_value max_execution_time "120" 

__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

if(I'm("Helpful")) Add_Talkupation("nayes84");
nayes84 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to .htaccess problem
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.38108 seconds with 12 queries