
12-13-2005, 11:18 AM
|
|
Newbie
|
|
Join Date: Dec 2005
Posts: 5
|
|
VPS server driving me crazy!
I'm yet another one that has taken advantage of the webfusion 1 month free trial, and given that their support is pretty much non-existant, I figured I'd try here to find out what I'm doing wrong.
The VPS is running plesk, and I've also installed and configured Coldfusion on the server (it's a windows box btw).
I've configured a site, have the domain pointing to the server and everything appears fine - email works for the domain, the plesk default holding page displays fine when I type the domain etc.
However, I've been trying to upload a few pages without success. FTP logs in fine, and the files are placed and I can see them - but whenever I try to browse to them via my browser, I get a 404 error. I've placed the files in the httpdocs folder (also tried the root folder without success) - now if I delete the default index.html file from the httpdocs folder, the domain itself just comes up with a 404 too - so I assume I'm putting them in the correct place.
As the files I'm uploading are coldfusion files (.cfm) I initially thought that perhaps CF wasn't configured correctly - but then it occurred to me that if that was the case, I would either be presented with the code or asked if I want to download the page. Instead, I just get the 404 error.
I've tried this numerous times now, under different domains and subdomains, all with the same result.
Am I missing something really obvious somewhere?
(If this is the wrong place for this - please point me in the right direction, thanks!)
|

12-13-2005, 11:50 AM
|
|
Disabled
|
|
Join Date: Nov 2005
Location: Singapore
Posts: 6
|
|
umm... i'm no expert. i've got a couple of ideas which may help. may not. my server has its webroot at /home/www/htdocs, compared to your statement that you had used the httpdocs folder. i guess a wrong folder name could make everything act weird. or maybe the coldfusion files, being dynamic, are trying to include a dependency file that cannot be found... so no matter what file you load, you get a "cannot be found" 404 error due to that dependency?? i've even seen scripts that revert to an error page when they have a server-side error in the code. some lazy programmer could have built his script to redirect to the 404 page, rather than showing an intelligent error result. are these coldfuion scripts your own, or some you downloaded? if they're your own, then it's less likely to find any fault with the scripting. do you happen to know that the coldfusion pages will run on another server? .....okay, that's all the troubleshooting questions that I know to offer. ...Good Luck! =)
|

12-13-2005, 11:52 AM
|
|
Disabled
|
|
Join Date: Nov 2005
Location: Singapore
Posts: 6
|
|
whups - just noticed you said it was a Windows box. my win machines always put the webroot for IIS at C:\Inetpub\wwwroot.
|

12-13-2005, 11:55 AM
|
|
Newbie
|
|
Join Date: Dec 2005
Posts: 5
|
|
Thanks for the response - the coldfusion pages are my own, and don't actually have anything other than a 'hello world' message (just for testing purposes).
Regarding the folder name - I don't have one called htdocs, and as mentioned in my original post, the index.html plesk creates was in that folder and shows a 404 after I delete it, I get a 404 again - so I'm almost certain it's the right place.
Thanks for the input though :-)
|

12-13-2005, 11:57 AM
|
|
Newbie
|
|
Join Date: Dec 2005
Posts: 5
|
|
Quote:
|
Originally Posted by mmarinsen
whups - just noticed you said it was a Windows box. my win machines always put the webroot for IIS at C:\Inetpub\wwwroot.
|
Same here - thats always been my past experience. I suspect the folder change is due to plesk, or the way webfusion set the box up.
|

12-13-2005, 12:50 PM
|
|
New Member
|
|
Join Date: Dec 2005
Location: Devon, England
Posts: 1
|
|
My guess is that the default page type is not set up for .cfm pages. Try going to yourserver.com/index.cfm - if this works, setup the default page type:
Edit httpd.conf
Find the line which says something like:
DirectoryIndex index.html
Add index.cfm to this line, eg:
DirectoryIndex index.html index.cfm
Hope this helps
Rob
|

12-13-2005, 12:59 PM
|
|
Newbie
|
|
Join Date: Dec 2005
Posts: 5
|
|
Thanks Rob, it actually gives a 404 error for any CF page, even when I type it directly as you mention.
I've actually uploaded a page called index.html, with just some test text - and that works fine. So, I'm guessing that maybe the CF server isn't correctly configured. However, I would have expected the server to either be showing me the cf code, or asking me to download it - can't quite figure out why it's just giving me a straight 404 when the page is clearly there.
|

12-13-2005, 01:45 PM
|
|
Newbie
|
|
Join Date: Dec 2005
Posts: 5
|
|
Just uninstalled and reinstalled Coldfusion, and now it seems to be working fine. Must have been a botched install first time. Thanks for the input.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
| Postbit Selector |
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|
| Login: |
|
|
| Advertisement: |
|
|
| Web Hosting News: |
|
|
|