<? 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?
Re:New Installation _ Tried many ways (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:New Installation _ Tried many ways
#1590
adda4u (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
New Installation _ Tried many ways 1 Year, 3 Months ago Karma: 0  
Hi
i tried to install manually and automatically but its not working
http://www.linksjack.com/directory/

Guide me even i did that htaccess thing


Sri
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1591
Dewed (Admin)
Admin
Posts: 605
graph
User Online Now Click here to see the profile of this user
Dew-Code.com
Re:New Installation _ Tried many ways 1 Year, 3 Months ago Karma: 9  
There must be something wrong in the .htaccess file , or you have not found the exact syntax your server uses.

The script also needs access to a mysql database, but I don't think it is even getting that far.. 500 error basically means mis-configured server, the script isn't even getting a chance to launch.

Please carefully re-read . . . . http://www.dew-code.com/content/view/14/25/

If you still can't sort it out, copy/paste your .htaccess file here, maybe I can spot the problem.
 
Report to moderator   Logged Logged  
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
#1592
adda4u (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:New Installation _ Tried many ways 1 Year, 3 Months ago Karma: 0  
#Set Error pages
ErrorDocument 500 ./500.html
ErrorDocument 404 ./500.html
######################################################################
#
# Please note typically one of these variations will allow the
# "directory" file to run as a PHP script. If you are getting #500
# or 404 errors, simply try the next directive by toggling the
# commented lines.
######################################################################

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


######################################################################
# If you have installed this script in your web root directory you might consider using
# the following mod-rewrite rules to make it appear as if you have an index.html file,
# so the directory script will be served as your homepage (eg; when no filename is requested.)
######################################################################
## add mod rewrite rules


## uncomment these 2 lines to use any of the following rewrite rules
# RewriteEngine On
# RewriteBase /

## make /directory/ act as index
#RewriteRule ^$ /directory/ [L]
#RewriteRule ^index\.(php|htm|html)$ /directory/ [R]
#RewriteRule ^index\.....$ /directory/ [R]

# Redirect non WWW to WWW
RewriteCond %{HTTP_HOST} ^linksjack\.com

RewriteRule (.*) http://www.linksjack.com/$1 [R=301,L]

######################################################################
# The following mod rewrite rule is really just a suggestion. It causes viewers to be directed
# to http://www.yourdomain.com if they arrive at http://yourdomain.com (no WWW)
# This helps to ensure anyone linking to your site does so consistantly.
######################################################################
## Redirect non WWW to WWW replace "yourdomain" with
## your actual domain name
#RewriteCond %{HTTP_HOST} ^yourdomain\.com
#RewriteRule (.*) http://www.yourdomain.com/$1 [R=301,L]
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1593
Dewed (Admin)
Admin
Posts: 605
graph
User Online Now Click here to see the profile of this user
Dew-Code.com
Re:New Installation _ Tried many ways 1 Year, 3 Months ago Karma: 9  
You have to uncomment "Rewrite rule on" for any rules to make sense to your server. Rewrite base is only needed in you want to use the "act as index" rules

Suggest you first comment out rewrite rules
# RewriteCond ....
# RewriteRule ...


Check that your "Files directory" choice is correct
If this part doesn't work

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


Try ...

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

try each. un-commenting only one at a time


Once that works, then re-enable the the rewrites.
 
Report to moderator   Logged Logged  
 
Last Edit: 2011/02/02 06:12 By Dewed.
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
#1887
gpcam (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:New Installation _ Tried many ways 2 Months, 1 Week ago Karma: 0  
Dewed wrote:
QUOTE:

Check that your "Files directory" choice is correct
If this part doesn't work

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


Try ...

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

try each. un-commenting only one at a time


Once that works, then re-enable the the rewrites.


uncommenting
Code:

#SetHandler application/x-httpd-php
gave me access to admin area but still get "no page found" (no error code or number) for main site --> http://www.mysite.com/Dew-NewPHPLinks/ (which turns into /Dew-NewPHPLinks/directory/
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1888
gpcam (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:New Installation _ Tried many ways 2 Months, 1 Week ago Karma: 0  
gpcam wrote:
QUOTE:
Dewed wrote:
QUOTE:

Check that your "Files directory" choice is correct
If this part doesn't work

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


Try ...

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

try each. un-commenting only one at a time


Once that works, then re-enable the the rewrites.


uncommenting
Code:

#SetHandler application/x-httpd-php
gave me access to admin area but still get "no page found" (no error code or number) for main site --> http://www.mysite.com/Dew-NewPHPLinks/ (which turns into /Dew-NewPHPLinks/directory/
after reading through other posts here.. uncommenting
Code:

#SetHandler application/x-httpd-php5
worked for me!
 
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