Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: about .htaccess

  1. #1
    New to the CF scene
    Join Date
    May 2016
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    about .htaccess

    Hello friends,
    I have .htaccess file and working but just display index.php but other links became invisible.
    Navigation is coming but links on mainpage not showing.
    How can i solve to this problem.
    My htaccess details:
    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^ index.php [L]

    </IfModule>
    Thank you.

  2. #2
    New to the CF scene
    Join Date
    May 2016
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    My english is not very well.
    Sorry for that.
    I mean,
    When I enter to the navigation links view of the contents possible.
    However, other links into the text of the index page can not viewing.
    I defined location as somepage/mainpage coming.
    I have created another folder and then added to the page.php then in the bar somepage/mainpage/page.php coming but there is no form of contents.

    Thank you.

  3. #3
    New to the CF scene
    Join Date
    May 2016
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    about htaccess

    Under the root directory, I have the following directory structure;

    index.php
    phpmyAdmin/
    application_1/
    application_2/

    I want to restrict user access. So if not from the localhost, all users are forced to access index.php and not allowed to access all the directories phpMyAdmin, and so on.

    I think about using .htaccess but havent found the right code.

    Is there any bad effects if you use "AllowOverride All" in httpd.conf ?


 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •