đź”´ January 2024 Alert: Forum support inactive!
New forum registration are currently closed.
Use GitHub discussions
.

    UVdesk

    • Login
    • Search
    • Recent

    Solved Add index.php after public folder.

    Technical Help
    2
    2
    986
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      Brian B Peach last edited by

      I need to add index.php after public in my URL while installing this project means automatically It is not hitting index.php file? how to resolve this.

      1 Reply Last reply Reply Quote 0
      • Sanjeev
        Sanjeev developer UVdesk Staff last edited by

        @Brian-B-Peach

        Open your .htaccess file under public folder of your project and add some random text at the top and save your file.

        Now try to access your project.

        Case 1:

        If you are getting 500 Internal server error after adding a random text in .htaccess file.

        It means it is working.

        Case 2:

        If you are still able to access public path of project which means  .htaccess it is not working yet.

        so you need to enable it.

        Open your apache2.conf file and Allow overwrite All.

        <Directory /home/users/www>
        Options Indexes FollowSymLinks
        AllowOverride All

        Require all granted

        here.

        Now also you need to run two below commands for enabling mod rewrite rule.

        a2enmod rewrite
        service apache2 restart

        1 Reply Last reply Reply Quote 0
        • First post
          Last post