<? DEW-CODE.COM  

Downloads

Assorted scripts  (1)
DewNewPHPLinks  (9)





Lost Password?
No account yet? Register

Dew-Code Newsfeed

Resources


 USdigitalcable.com

Dew-Code
Welcome, Guest
Please Login or Register.    Lost Password?
.htaccess modifications required (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: .htaccess modifications required
#1426
tarun (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
.htaccess modifications required 1 Year, 5 Months ago Karma: 0  
Dear Friends,

i am using dew codes ( Dew-NewPHPLinks v.2.0.1.0b SEF )for past 3 yrs, in that i never faced any problem due to htaccess

just few days back my server upgraded and now i am not even able to access site.

|||
Kernel version 2.6.18-194.3.1.el5
cPanel Version 11.25.0-RELEASE
Architecture x86_64
MySQL version 5.0.91-community
cPanel Build 46156
Path to sendmail /usr/sbin/sendmail
Apache version 2.0.63
PHP version 4.4.9

||


this is congifuration of apache and php.
site name is http://www.business-times.net/

can you help me out in providing code for htaccess so that i am able to use dew-code again or otherwise i will have to move to other code.

Thanks

Tarun
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1427
Dewed (Admin)
Admin
Posts: 603
graph
User Online Now Click here to see the profile of this user
Dew-Code.com
Re:.htaccess modifications required 1 Year, 5 Months ago Karma: 9  
Please check this FAQ entry,
http://www.dew-code.com/content/view/14/25/

it has 3 variations of the line that tells Apache to run the "directory" file as a PHP script. If none of them work, I can only suggest contacting your hosting provider, and it'd be nice to get the variation they prefer from you, so I can add it to the FAQ entry.
 
Report to moderator   Logged Logged  
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
#1490
gmckay (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:.htaccess modifications required 1 Year, 3 Months ago Karma: 0  
I have installed the latest version of PHPlinks on a shared hosting site at AwardSpace.

I checked all the entries in this forum and tried all the suggestions, but none solved the issue.

I also contacted the hosting provider to see whether they can change the httpd.config file, but they said they would not.

Is there a reason why the .php suffix has been left off the directory file, and is there any alternative to making these modifications?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1491
Dewed (Admin)
Admin
Posts: 603
graph
User Online Now Click here to see the profile of this user
Dew-Code.com
Re:.htaccess modifications required 1 Year, 3 Months ago Karma: 9  
What is the error you get a 500 or a 404?

Often it is necessary to edit the included .htaccess file but many servers are set to only re-reread .htaccess files periodically so you may need to wait up to 5 minutes after every edit

<Files directory>
ForceType application/x-httpd-php
#SetHandler application/x-httpd-php
#SetHandler application/x-httpd-php5
#ForceType x-httpd-php
</Files>

So if the first Forcetype line doesn't work, disable it and enable the next one

<Files directory>
#ForceType application/x-httpd-php
SetHandler application/x-httpd-php
#SetHandler application/x-httpd-php5
#ForceType x-httpd-php
</Files>

if after 5 minutes a test still fails try the next "SetHandler" line

The directory file as you know is a PHP script that lacks the .php extension. Because of this you can make URLs appear more static, because you don't need to have ?blah=blah&something=somewhere in the URL, the script can understand a fictitious directory structure and generate the appropriate content by parsing the URL of the request eg; /directory/cool.html
 
Report to moderator   Logged Logged  
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
#1492
gmckay (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:.htaccess modifications required 1 Year, 3 Months ago Karma: 0  
Thanks, I'll re-try with more time in between tests and advise...
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1493
gmckay (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:.htaccess modifications required 1 Year, 3 Months ago Karma: 0  
The error page says 500.html, but it appears that your .htaccess file sends both errors to this page.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
get the latest posts directly to your desktop
Outsource your projects to thousands of programmers at
ScriptLance.com
Newsflash
Interested in
advertising?

This space for rent!

Sign up for PayPal and start accepting credit card payments instantly.
Copyright Dew-Code 2008