Find the answer to your Linux question:
Results 1 to 3 of 3
i create new directory its name mobile in www directory in my serve ,and i create html pages in mobile directory ,when i try to access this page it give ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2010
    Posts
    2

    Unhappy error please help me


    i create new directory its name mobile in www directory in my serve ,and i create html pages in mobile directory ,when i try to access this page it give me this error

    mywebsite.com/mobile/index.php

    Not Found

    The requested URL /mobile was not found on this server.

    but the directory there and the index is there

    what is the solution please help me ?

  2. #2
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    3,190
    What is your Document Root set to in the httpd.conf file for Apache? It may be /var/www/htdocs or /var/www/html as it is on many systems. You will then need to move your mobile directory and its files there. I don't have Debian installed so I can't check what its Document Root is.

  3. #3
    Just Joined!
    Join Date
    Oct 2010
    Posts
    2
    thanks for replay ,i solved it by update default file in this path: /etc/apache2/site-available/default

    and add redirect configuration ,by add alias /mobile/ .

    thanks a lot .
    hala

  4. $spacer_open
    $spacer_close

Posting Permissions

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