krauzi Posted April 8, 2008 Posted April 8, 2008 Hi, i have a problem. I thought, aspx sites are working, but it seems they arent. Do i have to configure something, that the sites will work? I have my asp files in /www/ASP/. I hope someone can help me.
JcX Posted April 8, 2008 Posted April 8, 2008 hmmm.... would you please specific and explain your problem further to let us help? had no idea on your problem now...
krauzi Posted April 8, 2008 Author Posted April 8, 2008 hmmm.... would you please specific and explain your problem further to let us help? had no idea on your problem now... Well, i have installed battlefield 2 statistics (www.bf2statstics.com). If you want, take a look at my site: http://reloadedmodadmin.heliohost.org/ASP/ Log in as "User" , password is "pwd" (Both without ""). Then click on "Test Config" -> Confirm -> Process. It works fine, but at the point Gamespy Response (the .aspx files) there is a FAIL. The .aspx files should be executed. E.g.: Test this: try to execute the aspx files: goto: http://reloadedmodadmin.heliohost.org/ASP/getawardsinfo.aspx . You shouldnt be able to download. You should exectue the .aspx file. But you do not. I also added the permission to execute in the filemanager v2 for all .aspx files (chmode 0775). I hope this helps. Cheers krauzi.
Ashoat Posted April 8, 2008 Posted April 8, 2008 ASP files only work in the public_html folder. They can include files in the other folders, however. So, just make a wrapper ASP file and put it in the webroot (public_html).
krauzi Posted April 12, 2008 Author Posted April 12, 2008 ASP files only work in the public_html folder. They can include files in the other folders, however. So, just make a wrapper ASP file and put it in the webroot (public_html). Well it is still not working. On my homeserver (xampp) it is working.
Ashoat Posted April 12, 2008 Posted April 12, 2008 Put a "Hello, world!" program into your public_html and give me the URL so I can check it out.
krauzi Posted May 4, 2008 Author Posted May 4, 2008 Put a "Hello, world!" program into your public_html and give me the URL so I can check it out. This is working. I tested several aspx sites from the internet. I think the problem is, that my aspx sites are no real asp sites. They are php-sites with a .aspx file extension. The server should manage the aspx files as php files. But the extensions have to be .aspx. Otherwise my the programs, that should connect to the "aspx" files, wont work.
Ashoat Posted May 4, 2008 Posted May 4, 2008 What...? I have no clue what you just said, but if the files have PHP code in them, you need to use the extension ".php".
krauzi Posted May 11, 2008 Author Posted May 11, 2008 What...? I have no clue what you just said, but if the files have PHP code in them, you need to use the extension ".php". Of course they should have .php as extension. But this is not what i want. The extension HAVE to be .aspx. The Programm (Battlefield 2) sends data to the server. I cant change that Battlefield 2 is sending to: servername.heliohost.org/ASP/myaspsite.aspx. This is hardcoded in the BF2.exe. I cant change it. So i want the server to manage the .aspx files as .php files.
Ashoat Posted May 11, 2008 Posted May 11, 2008 Does it send through HTTP? As in, is the Battefield 2 that is sending the information on your computer at home, or is it on your HelioHost account?
macubx Posted May 20, 2008 Posted May 20, 2008 I think what he was trying to say is that he is lost on the configurations on the apache server for accessing .ASP/.ASPX since this is my problem too, (instead of desplaying "hello world" string, it instead downloads the hello.asp file) i dont know what to configure what and where, i tried changing the apache handler "AddHandler application/x-httpd-php .asp" and mime type to "AddType application/x-httpd-php asp" but no luck.. if it is not too much bother may i ask a step by step instruction on how to configure the cPanel so that i can run .ASP .ASPX. thank you
Ashoat Posted May 20, 2008 Posted May 20, 2008 Sorry, we don't support ASP. But ASP.NET should work fine, and their Hello World! is identical. Quite simple, really. <%="Hello World"%> I believe that works.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now