Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,471
There are 1208 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     PHP and MySQL :

404 page

Thread title: 404 page
Reply    
    Thread tools Search this thread Display Modes  
12-28-2009, 05:54 AM
#1
sudhakararaog is offline sudhakararaog
Status: Junior Member
Join date: Sep 2009
Location:
Expertise:
Software:
 
Posts: 51
iTrader: 0 / 0%
 

sudhakararaog is on a distinguished road

  Old  404 page

hi

1.
i have a .htaccess file in my root directory on unix hosting

following is the code in .htaccess file

ErrorDocument 404 /filenotfound.html

the file filenotfound.html is also in the root directory as the htaccess file

when i intentionally type a wrong url either if a misspell a file ex= http://domainname.com/filenam.html or a folder ex = http://domainname.com/100
to test if this is working filenotfound.html is not being called

any reason why this is happening



also the same thing with wamp on my local computer, i have a htaccess and also the filenotfound
in d:/wamp/www however when i misspell the ulr of my localhost, i have noticed in the status bar that the page is being redirected to
http://linkhelp.clients.google.com and i get a 404 from this website, how can i change this redirection



2.
how do i access the php.ini and httpd.conf file from my cpanel, do i need to ask my hosting provider to make any changes or can i make these changes myself

3.
after downloading putty and if i have wamp in d:/wamp/www how do i access mysql from the command prompt
using putty on my local machine

please advice


thanks.

Reply With Quote
12-31-2009, 09:35 AM
#2
Dan is offline Dan
Dan's Avatar
Status: Request a custom title
Join date: Feb 2005
Location:
Expertise:
Software:
 
Posts: 3,164
iTrader: 15 / 86%
 

Dan is an unknown quantity at this point

  Old

1. Mind showing your full htaccess file?

Easier to debug the problem this way.

Reply With Quote
12-31-2009, 08:11 PM
#3
evanc93 is offline evanc93
Status: I'm new around here
Join date: Dec 2009
Location:
Expertise:
Software:
 
Posts: 6
iTrader: 0 / 0%
 

evanc93 is on a distinguished road

  Old

About your .htaccess problem. Try using a full link to your custom 404 page.

For example
ErrorDocument 404 /directory/filenotfound.html

make sure you check to see if your web host allows you to have your own .htaccess files.

Reply With Quote
Reply    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed