Making Telerik work in Windows Apache Server

8 posts, 0 answers
  1. yashaswi pk
    yashaswi pk avatar
    7 posts
    Member since:
    Feb 2010

    Posted 21 Jun 2010 Link to this post

    Hi

    I am going to host my .Net Web Application with lots of Telerik controls used to be hosted into Windows Apache server machine. I tried out localy to make the telerik controls work on Apache server, but the controls are not rendering in the web page. Does Telerik work with Apache server and what are the necessary changes need to be done for that. Please guide me step by step as I am new to Apache Web server.

    We are using Telerik Ajax Controls for our Project.
  2. Schlurk
    Schlurk avatar
    812 posts
    Member since:
    May 2009

    Posted 22 Jun 2010 Link to this post

    As you can see on the system requirements page the Telerik RadControls require IIS to function properly.
  3. yashaswi pk
    yashaswi pk avatar
    7 posts
    Member since:
    Feb 2010

    Posted 23 Jun 2010 Link to this post

    You mean to say that telerik controls is not supported in Apache Web Server in windows OS.
    Is their any other way to achive this.

    Thnaks & Regards
    Yash
  4. yashaswi pk
    yashaswi pk avatar
    7 posts
    Member since:
    Feb 2010

    Posted 23 Jun 2010 Link to this post

    You mean to say that telerik controls is not supported in Apache Web Server in windows OS.
    Is their any other way to achive this.

    Thanks & Regards
    Yash
  5. Yana
    Admin
    Yana avatar
    4795 posts

    Posted 23 Jun 2010 Link to this post

    Hi Yashaswi,

    That's right, Apache Web Server is not officially supported. Anyway, you can try the approach described in this blog post.

    Best regards,
    Yana
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  6. Diego Ferreira
    Diego Ferreira avatar
    1 posts
    Member since:
    Sep 2012

    Posted 13 Jul 2011 Link to this post

    Hi Yana,
    Using the example of the blog, I was able to ride the Telerik in the Apache Web server, however, you must add a line that allows the virtual path.
    You can use this entry in httpd.conf:


    # enable the Apache HTTP Server to correctly serve ASP.NET application content
    AddHandler asp.net asax ascx ashx asmx aspx axd config cs csproj licx rem resources resx soap vb vbproj vsdisco webinfo</span>
     
    <ifmodule aspdotnet_module>
    # ----------------------------------------------------------------
    # Enables mod_aspdotnet to process ASP.NET content
    # ----------------------------------------------------------------
    AspNet Files Directories Virtual
     
    # ----------------------------------------------------------------
    # Mount the ASP.NET application
    # ----------------------------------------------------------------
    AspNetMount /path "<path to Your App Files>"
     
    # ----------------------------------------------------------------
    # Map all requests for to the application files
    # ----------------------------------------------------------------
    Alias /portal "<path to Your App Files>"
     
    # ----------------------------------------------------------------
    # Allow asp.net scripts to be executed
    # ----------------------------------------------------------------
    <directory <path to Your App Files>>
     Options FollowSymlinks ExecCGI
     Order allow,deny
     Allow from all
     DirectoryIndex index.htm index.aspx Default.aspx default.aspx
    #default the index page to .htm and .aspx
    </directory>
     
     
    # ----------------------------------------------------------------
    # For all virtual ASP.NET webs, we need the aspnet_client files
    # to serve the client-side helper scripts.
    # ----------------------------------------------------------------
    AliasMatch /aspnet_client/system_web/(\d+)_(\d+)_(\d+)_(\d+)/(.*) "C:/Windows/Microsoft.NET/Framework/v$1.$2.$3/ASP.NETClientFiles/$4"
     
    # ----------------------------------------------------------------
    <directory windows="" net="" framework="" netclientfiles="">
     Options FollowSymlinks
     Order allow,deny
     Allow from all
    </directory>
    # ----------------------------------------------------------------
    </ifmodule>
    #asp.net
  7. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 14 Jul 2011 Link to this post

    Hi Diego,

    Thanks for pointing out this additional detail. Your Telerik points have been updated for sharing it with the rest of the Telerik Community members.

    Best wishes,
    Sebastian
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  8. Kiran
    Kiran avatar
    9 posts
    Member since:
    Jan 2010

    Posted 05 Oct 2012 Link to this post

    In fact, I tried a lot while resolving this issue. However after a great findings and trials finally I tried below and worked well.

    Need to create empty "Telerik.web.ui.Resource.axd" file in root folder. Then only some controls will work properly.
    Otherise it gives an error or does not function well.

    Hope this helps.

Back to Top