aigarinsh Posted February 19, 2009 Share Posted February 19, 2009 Hi I'm new to rewrites. Can somebody please help me resolve this? My Docroot is D:/Server/Webs/ My site is under D:/Server/Webs/4c/Web I have added Alias /4c D:/Server/Webs/4c/Web So when I enter http://192.168.1.101:8080/4c/ site opens fine, only thing absolute URLs like /css/style.css are not working. .htaccess is working, but I can't figure out how should I set it that http://192.168.1.101:8080/4c/ works with absolute paths. Quote Link to comment https://forums.phpfreaks.com/topic/145837-alias-and-subfolder-rewrite/ Share on other sites More sharing options...
corbin Posted February 19, 2009 Share Posted February 19, 2009 That wouldn't make sense... Either chance all of your paths to absolutely include /4c/ or use a VHost. Quote Link to comment https://forums.phpfreaks.com/topic/145837-alias-and-subfolder-rewrite/#findComment-765754 Share on other sites More sharing options...
aigarinsh Posted February 19, 2009 Author Share Posted February 19, 2009 OK, thanks, now I understand. Means I have to use VHost, which I already did and everything is working fine. Quote Link to comment https://forums.phpfreaks.com/topic/145837-alias-and-subfolder-rewrite/#findComment-766001 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.