Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

Php Mod Rewrite Tutorial


11 replies to this topic

#11 Guest_nikhil yadav_*

  • Guests

Posted 03 September 2011 - 11:50 PM

Friends i am nikhil yadav and i am hosting a web site on yahoo web hosting server. it does not provides .htaccess file on server, so help me how i write my mod rewrite rules on server and get work done.

#12 k_nitin_r

    Grand Imperial Poobah

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPip
  • 1,114 posts
  • Gender:Male
  • Location:Dubai
  • myCENT:50.55

Posted 11 September 2011 - 01:11 PM

View Postnikhil yadav, on 03 September 2011 - 11:50 PM, said:

Friends i am nikhil yadav and i am hosting a web site on yahoo web hosting server. it does not provides .htaccess file on server, so help me how i write my mod rewrite rules on server and get work done.

Nikhil,

For mod rewrite to work, you need an Apache web server. Most web hosting services that use an Apache web server will support .htaccess directives and if yours does not, you might need to contact their support to get them to insert the directives that you require in their configuration file for your site. Some of the directives from their configuration file can be overridden using the .htaccess file and therefore they may have disabled the .htaccess directives feature entirely but that should not stop them from making the setting for your site. Other web servers, such as Microsoft's Internet Information Service does not using a .htaccess file but instead requires you to setup the directives using a Web.config file, which is an XML format file that you can easily edit using Visual Studio or any other XML editor or text editor.

If your web hosting services does refuse to enable the URL rewriting for your site, you may have to find another web hosting provider - Xisto is a good choice because you can earn forum credits by posting on Knowledge Sutra or one of the other participating forum sites and then order your web hosting packages using solely forum credits.




Reply to this topic


This post will need approval from a moderator before this post is shown.

  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users