Activity Stream
48,167 MEMBERS
6690 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 4 of 4
  1.     
    #1
    Member
    Website's:
    bramjlive.com

    Default need help to enable .htaccess in vps

    how to enable
    Apache mod_rewrite module
    .htaccess



    with my vps
    i have cpanal
    okpaa Reviewed by okpaa on . need help to enable .htaccess in vps how to enable Apache mod_rewrite module .htaccess with my vps i have cpanal Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    Website's:
    undiscoveredPWDS.com
    What is it your trying to achieve?

    URL rewriting is usually used to convert data inputs into a clean url eg
    mysite.com/showproduct.php?id=1391
    to
    mysite.com/showproduct/1391

    If that's all you want it can be done by simply changing the .htaccess file with the FilesMatch tag. In the example above add:


    <FilesMatch "^showproduct$">
    ForceType application/x-httpd-php
    </FilesMatch>

    then in your code put

    $expl = explode("/",$_SERVER["REQUEST_URI"]);
    $id = $expl[count($expl)-1];

    All this should be enabled by defult!

    If your wondering why any .htaccess file seems to disappear once you upload it, that's because any file that begins with . in linux is hidden. Its there, just your ftp client cant see it.

  4.     
    #3
    Member
    Website's:
    EastsideHosting.com MediaONAIR.com ImgWiz.com cPadmin.net EastsidePCWorks.com HostedTalk.com
    If he uses FileZilla it's usually visible automatically.

    If he uses another, then there are ways of forcing to see . files by adding -a in a listing properties; or just access cPanel, File Manager 'Enable . files' and there you go.
    EastsideHosting - (Web Hosting, Proxy Hosting, Reseller Program)
    MediaONAIR - (SHOUTcast Servers, ICEcast Servers, Reseller Program)
    Server Administrator - (Dedicated Servers, VPS Management, One Time Services)
    ImgWiz - (Free Image Hosting)

  5.     
    #4
    Member
    Website's:
    Elite.SO Defendos.com Motionite.com
    Login into WHM - Click on EasyApache Update - Rebuild Apache, but don't forget to check "Mod Rewrite", Apache will be rebuild including MR.

    Defendos BETA3 Released! Thread - Official Website

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. should i enable cloudflare?
    By ::ALEX:: in forum Webmaster Discussion
    Replies: 19
    Last Post: 12th Jul 2012, 08:04 PM
  2. how to enable shell_exec
    By msk19994 in forum Server Management
    Replies: 17
    Last Post: 10th Mar 2012, 04:10 PM
  3. [Hiring] Someone to enable RAR/unRAR on my RL
    By kohkindachi in forum Completed Transactions
    Replies: 8
    Last Post: 2nd Nov 2010, 01:22 PM
  4. How To Enable Mod_Rewrit in VPS?
    By Dan.Crew in forum Server Management
    Replies: 4
    Last Post: 26th Oct 2010, 06:36 AM
  5. Enable Rep system?
    By sewer in forum Webmaster Discussion
    Replies: 1
    Last Post: 2nd Sep 2009, 10:25 PM

Tags for this Thread

BE SOCIAL