/    Sign up×
Community /Pin to ProfileBookmark

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= [url]http://domainname.com/filenam.html[/url] or a folder ex = [url]http://domainname.com/100[/url]
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
[url]http://linkhelp.clients.google.com[/url] 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.

to post a comment
PHP

1 Comments(s)

×

Success!

Help @sudhakararaog spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...