suryab21 Posted March 21, 2007 Share Posted March 21, 2007 I am trying to integrate a chat script(Userplane Chat) in my webstie for displaying images in this chat script i need to create server alias for my site.i want to know that is it possible to use htaccess file instead of writing the code in the httpd.conf file or we can do it by mod rewrite rule. i want all the request that are coming for the url http://images.mysitename.userplane.com/imagepath.jpg sholul be redirect or should call to http://mysitename.com/images/imagepath.jpg is it possible to use the htaccess file for the same purpose or i need to do the changes in my httpd.conf file because my hosting provider is not agree to do the changes in the file. please help me out. Link to comment https://forums.phpfreaks.com/topic/43630-creating-server-alias/ Share on other sites More sharing options...
steviewdr Posted March 22, 2007 Share Posted March 22, 2007 A mod_rewrite rule will work fine. I dont know the correct one off hand tho. Its definately not alias that you need. Its a simple rewrite. -steve Link to comment https://forums.phpfreaks.com/topic/43630-creating-server-alias/#findComment-212637 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.