LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-19-2012, 11:34 PM   #1
mohsin1122
LQ Newbie
 
Registered: Feb 2012
Posts: 7

Rep: Reputation: Disabled
When connecting to mysql using dreamweaver it shows 404 error


when i connect dreamweaver to my websites database it says 404 error
1)there is no testing server
2)testing server specified for this site do not map to the
ftp://domain/_mmserverscript/MMHTTPDB.php
verify that url prefix map to root of site

although the file is placed in public_html folder

but it says that it is not placed in public_ftp folder
plz help me
 
Old 02-20-2012, 03:07 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
how does this relate to mysql in any way? Equally, how is Dreamweaver relevant?? you either have a site that works, or doesn't. Can you please effectively clarify what you are asking about? you're using FTP? You're getting an HTTP error code using a non-HTTP protocol? How does that work?
 
Old 02-20-2012, 03:33 AM   #3
uhelp
Member
 
Registered: Nov 2011
Location: Germany, Bavaria, Nueremberg area
Distribution: openSUSE, Debian, LFS
Posts: 205

Rep: Reputation: 43
Quote:
Originally Posted by mohsin1122 View Post
This URL is just WRONG

"domain" has to be a (fully) qualified domainname.
Something like "domain.com".

And as the http://www.linuxquestions.org/questi...d_kewpie-2956/ already mentioned:
It seems, that you want to give the visitor a download link.
So correct the URL to the proper format and path.

And beisdes: DON'T use ftp.
It's outdated and insecure.
 
Old 02-20-2012, 03:43 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
I think you'll find the URL is totally valid, other that it's clearly been anonymized with "domain" being used instead of a real FQDN / local hostname.
 
Old 02-20-2012, 03:51 AM   #5
uhelp
Member
 
Registered: Nov 2011
Location: Germany, Bavaria, Nueremberg area
Distribution: openSUSE, Debian, LFS
Posts: 205

Rep: Reputation: 43
You might be right.
Is just my assumption derived from the level of the question.
I resist to offer a bed on this. :-)
 
Old 02-20-2012, 07:49 AM   #6
mohsin1122
LQ Newbie
 
Registered: Feb 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
ok
the FQDN is HTTP://www.engineers-web.com
here is the required file placed
http://www.engineers-web.com/_mmserv...t/MMHTTPDB.php

i am a beginner
and i got this hosting for my Project
and for this project i need to connect my Dreamweaver to MySQL of my website
 
Old 02-20-2012, 07:51 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
OK, so FTP is no longer part of the question? So you've a normal 404 on Apache, so where is your document root pointing on the config. It should be a pretty simple case that you haven't told Apache to look in the right place. Are you absolutely clear where the files really are?

And let's not mention mysql or dreamweaver again, as they aren't relevant.

And note that we do NOT need your FQDN at all, what you did originally was ideal.
 
Old 02-20-2012, 08:36 AM   #8
mohsin1122
LQ Newbie
 
Registered: Feb 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by acid_kewpie View Post
OK, so FTP is no longer part of the question? So you've a normal 404 on Apache, so where is your document root pointing on the config. It should be a pretty simple case that you haven't told Apache to look in the right place. Are you absolutely clear where the files really are?

And let's not mention mysql or dreamweaver again, as they aren't relevant.

And note that we do NOT need your FQDN at all, what you did originally was ideal.
yes i am absolutely clear about that file
 
Old 02-20-2012, 08:38 AM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well in that case, your documentroot is probably wrong. Are you using virtual hosts or just the standard main site, which would point to /var/www/html by default on most systems. You say you put it in public_html... That directory is usually a per user folder in your hopme directory, apache wouldn't have a clue to look there without being told.
 
Old 02-20-2012, 10:30 AM   #10
uhelp
Member
 
Registered: Nov 2011
Location: Germany, Bavaria, Nueremberg area
Distribution: openSUSE, Debian, LFS
Posts: 205

Rep: Reputation: 43
If holding the files in "public_html" you have to point your browser to this location.

http://the.example.com/~YourUserName/filename
 
Old 02-20-2012, 11:33 AM   #11
mohsin1122
LQ Newbie
 
Registered: Feb 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by uhelp View Post
If holding the files in "public_html" you have to point your browser to this location.

http://the.example.com/~YourUserName/filename
bro all the data in public_html folder can be accessed by only typing the url.
 
Old 02-20-2012, 02:05 PM   #12
uhelp
Member
 
Registered: Nov 2011
Location: Germany, Bavaria, Nueremberg area
Distribution: openSUSE, Debian, LFS
Posts: 205

Rep: Reputation: 43
Quote:
Originally Posted by mohsin1122 View Post
bro all the data in public_html folder can be accessed by only typing the url.
I don't know, what you mean with that.

It is just a proper URL I posted.

So what's the point?
 
Old 02-20-2012, 03:09 PM   #13
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Quote:
Originally Posted by mohsin1122 View Post
bro all the data in public_html folder can be accessed by only typing the url.
well clearly not, otherwise you wouldn't be getting a 404 now would you?
 
Old 02-21-2012, 04:19 AM   #14
mohsin1122
LQ Newbie
 
Registered: Feb 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
ok leave it i think i have to do it through programing
 
Old 02-22-2012, 02:19 PM   #15
uhelp
Member
 
Registered: Nov 2011
Location: Germany, Bavaria, Nueremberg area
Distribution: openSUSE, Debian, LFS
Posts: 205

Rep: Reputation: 43
definitly not.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu with mySQL error connecting from XP yovkoi Linux - Server 2 12-11-2010 09:42 AM
Error in connecting to MySQL in C language Hamed Programming 3 09-30-2010 04:41 AM
perl dbi:mysql shows error syntax error dbi:mysql ?? haxpak Linux - Server 4 02-26-2009 11:09 PM
Error connecting to MySQL from PHP anindyanuri Linux - Software 18 04-24-2005 09:30 AM
http 405 error when connecting mysql to Dreamweaver Onemessedupjedi Linux - Software 0 08-15-2004 09:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration