IsaacSchlueter Posted June 17, 2004 Share Posted June 17, 2004 I read through the tutorial, and I'm pretty sure that I followed the steps, but I'm having some problems setting up http://webreports.isaacschlueter.com. I created a folder at [root]/public_html/webreports Then, set up the domain in CPanel's "Manage Subdomains" section. I even created a new ftp user, and verified that he could only gain access to that folder. I uploaded a file called "test.html" to [root]/public_html/webreports When I go to http://webreports.isaacschlueter.com, I see the directory index, and my "test.html" is showing there. But, if I click on the link to the file, I get: Bad RequestYour browser sent a request that this server could not understand. Invalid URI in request GET /test.html HTTP/1.1 If I go to http://isaacschlueter.com/webreports/test.html then I see this is a test.which is correct. Any ideas? Quote Link to comment Share on other sites More sharing options...
TCH-Rob Posted June 17, 2004 Share Posted June 17, 2004 You do it a bit different than I do. I make the subdomain and it will automatically create dir/subfolder. Then I upload my files and it works. I don't know if that is the issue but it may be worth a shot. Quote Link to comment Share on other sites More sharing options...
IsaacSchlueter Posted June 17, 2004 Author Share Posted June 17, 2004 Thanks, Rob, but that doesn't seem to work either. I deleted the folder, and removed the subdomain. Then, I created the subdomain, and it did indeed create the folder once again. But, the same things happen when I try to test it out. Hmm... Quote Link to comment Share on other sites More sharing options...
TCH-Rob Posted June 17, 2004 Share Posted June 17, 2004 What if you create an index page that links to the test page? Quote Link to comment Share on other sites More sharing options...
IsaacSchlueter Posted June 17, 2004 Author Share Posted June 17, 2004 Aha. Mod_rewrite strikes again. They call it the swiss army knife of URL manipulation, but it seems more like a blowtorch sometimes. I'm using mod_rewrite to create cleaner URLs on http://isaacschlueter.com. Well, the settings in the public_html folder are propogating to the webreports subfolder, and making problems. I'll have to review the documentation on that stuff to have the same functionality in the subdomain. I think that I can get around it by declaring a RewriteBase in the .htaccess file in the subfolder. For now, I put this in my public_html/webreports/.htaccess file and it fixed it: RewriteEngine Off Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.