Closed Thread
Results 1 to 4 of 4

Thread: mydomain.x10.mx should start wirth joomla16/index.php

  1. #1
    hallo36 is offline x10Hosting Member hallo36 is an unknown quantity at this point
    Join Date
    Jun 2011
    Location
    Germany
    Posts
    3

    mydomain.x10.mx should start wirth joomla16/index.php

    My request is very basic. And I looked for hours - in the forum, wiki, faq...

    Softaculous installed Joomla 1.6 into the directory public_html\joomla16. That's ok (I thought...). The index.php is there, too. When typing:

    mydomain.x10.mx

    into the address line an index is shown and one has to switch to joomla16 to see the homepage.

    I want to have joomla in an own directoriy AND the start of the homepage under mydomain.x10.mx. This can't be too much, is it?

    I changed the .htaccess file a thousand times using REWRITEBASE \ or REWRITEBASE \joomla16. I copied to root or to joomla16. Looked for help in the depth of the internet. But my question is so simple that there is no answer to find, I guess.

    At the moment there is an Internal Server Error at the backend AND the frontend of joomla. At http://schaubar.x10.mx/ you can find the index. But joomla16 is not shown anymore (I thought the Index-Manager could help and now it can't be changed back somehow).

    I guess I have to delete everything... But when I start again: What should be written in .htaccess or is there something else to do?

  2. #2
    stpvoice's Avatar
    stpvoice is offline Community Support Rep stpvoice has a brilliant futurestpvoice has a brilliant futurestpvoice has a brilliant future
    Join Date
    Dec 2008
    Location
    United Kingdom
    Posts
    5,939

    Re: mydomain.x10.mx should start wirth joomla16/index.php

    Hello,

    I can't see any files on the account relating to Joomla. Ensure you have RewriteBase / in the .htaccess under RewriteEngine On. Also, ensure nothing is CHMOD 777. Generally, files should be 644 and directories 755.


  3. #3
    hallo36 is offline x10Hosting Member hallo36 is an unknown quantity at this point
    Join Date
    Jun 2011
    Location
    Germany
    Posts
    3

    Re: mydomain.x10.mx should start wirth joomla16/index.php

    Quote Originally Posted by stpvoice View Post
    Hello, I can't see any files on the account relating to Joomla.
    They are still there but the entry on the "Index of /" disappeared after my trials with the Index Manager of cPanel. And I can't restore it. When you follow this link: http://schaubar.x10.mx/joomla16/ you'll get the Internal Server Error -whyever, I tried too much.

    Quote Originally Posted by stpvoice View Post
    Ensure you have RewriteBase / in the .htaccess under RewriteEngine On.
    I have. Had. Now I renamed all the different .htaccess files. But the Internal Server Error remains...

    Quote Originally Posted by stpvoice View Post
    Also, ensure nothing is CHMOD 777. Generally, files should be 644 and directories 755.
    CHMOD is a new issue for me. Got it: The CHMOD can be seen in the cPanel File Manager in the column Perms, right? Nothing is 777 files are 644 ans directories 755 - no new error source :-(

    Shortcut: I shouldn't put Joomla! in a directory but directly into public_html, should I?

    And: Thanx for the quick answer!
    Katharina
    Last edited by hallo36; 06-21-2011 at 11:46 AM. Reason: new information

  4. #4
    hallo36 is offline x10Hosting Member hallo36 is an unknown quantity at this point
    Join Date
    Jun 2011
    Location
    Germany
    Posts
    3

    Re: mydomain.x10.mx should start with joomla16/index.php

    Why does the Index Manager of CPanel puts corrupt code to the .htaccess file? I deleted these lines and the Internal Server Error was gone.

    And why installs Softaculous Joomla into a directory when it is not possible to use it there? Meanwhile I created an index.php5 file in the root with:

    <?php include ("index.php"); ?>

    Why index.php5? -> Renaming the Joomla-index.php didn't work, just as a file index.php that includes another index.php...

    In addition there is a php.ini with:

    include_path = ".:joomla16"

    Result: index.php is found but nothing else - no templates, no links as you can see here: http://www.schaubar.x10.mx/

    Meanwhile there are two .htaccess files. In the root there are some lines that were perhaps created by Softaculous with:

    Code:
    RewriteEngine on
    RewriteCond %{HTTP_REFERER} !^http://schaubar.x10.mx/.*$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://schaubar.x10.mx$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.schaubar.x10.mx/.*$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.schaubar.x10.mx$      [NC]
    RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]
    And in the directory joomla16 there is the .htaccess of Joomla (I deleted all comments):

    Code:
    .
    Options +FollowSymLinks Indexes
    RewriteEngine On
    RewriteBase /joomla16
    
    RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
    RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
    RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
    RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
    RewriteRule .* index.php [F]
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    
    RewriteCond %{REQUEST_URI} !^/index\.php
    RewriteCond %{REQUEST_URI} /component/|(/[^.]*|\.(php|html?|feed|pdf|vcf|raw))$ [NC]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule .* index.php [L]
    I guess I need a RewriteRule somewhere there... But where and what?

Closed Thread

Similar Threads

  1. Replies: 2
    Last Post: 03-31-2010, 12:42 PM
  2. Redirect www.mydomain.com to mydomain.com
    By scrame in forum Programming Help
    Replies: 4
    Last Post: 02-01-2010, 06:04 AM
  3. Is it possible to have a www. in front of mydomain?
    By granger99 in forum Free Hosting
    Replies: 17
    Last Post: 12-29-2009, 12:58 AM
  4. {REQ} Members Area Wirth Features
    By SEŅOR in forum The Marketplace
    Replies: 6
    Last Post: 04-22-2006, 09:16 PM

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
x10hosting free hosting for the masses
dedicated servers