l0w Posted March 3, 2010 Share Posted March 3, 2010 Ok So I Bought This Script, And The People Have Zero Support Once You Buy It. I Installed It On A Free Host To Check it Out.. It Worked, So I Got A VPS And Now It Doesn't. The script is a coupon script, I add a website through the admin and it creates a link like localhost.com/somesite.com/ on my main site, now it does not create a directory, but it acts as if it did when working properly, however now I get a 404, as the server is looking for that directory... Any Ideas? Maybe I need to install a mod or something??? Thanks, l0w Quote Link to comment https://forums.phpfreaks.com/topic/193975-so-it-works-on-one-server-but-not-the-other/ Share on other sites More sharing options...
Dennis1986 Posted March 3, 2010 Share Posted March 3, 2010 Either you're missing the .htaccess file on your new server or your new server doesn't allow .htaccess files. .htaccess is the file that allows you to create custom URLs. Quote Link to comment https://forums.phpfreaks.com/topic/193975-so-it-works-on-one-server-but-not-the-other/#findComment-1020797 Share on other sites More sharing options...
Mchl Posted March 3, 2010 Share Posted March 3, 2010 Either you're missing the .htaccess file on your new server or your new server doesn't allow .htaccess files. .htaccess is the file that allows you to create custom URLs. actually it just configures rules for custom URLs. The webserver module responsible for parsing such urls is called mod_rewrite. Check if you have it enabled on your server. Quote Link to comment https://forums.phpfreaks.com/topic/193975-so-it-works-on-one-server-but-not-the-other/#findComment-1020814 Share on other sites More sharing options...
l0w Posted March 3, 2010 Author Share Posted March 3, 2010 Thanks for the replies... I have searched google up and down for info on mod_rewrite and cpanel, and people say it comes installed just not enabled, I looked at my httpd.conf file and this is all i found RewriteEngine on. I searched everything in cpan, the easy apache, i counldn't find anything close to mod_rewrite. So I dunno Im running centos 5.4 and cpan Quote Link to comment https://forums.phpfreaks.com/topic/193975-so-it-works-on-one-server-but-not-the-other/#findComment-1020831 Share on other sites More sharing options...
Rustywolf Posted March 4, 2010 Share Posted March 4, 2010 Try re-installing/extracting you might have missed some files. or your vps uses outdated apache? Quote Link to comment https://forums.phpfreaks.com/topic/193975-so-it-works-on-one-server-but-not-the-other/#findComment-1021308 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.