Share » Forums » Install & configuration » how to make a file accessible via...

how to make a file accessible via http://[URL]/file

how to make a file accessible via http://[URL]/file

Tuesday 19 December 2006 4:01:42 am - 2 replies

Modified on Wednesday 20 December 2006 2:53:11 am by Rafal Zrobecki

Author Message

Claudia Kosny

Wednesday 20 December 2006 12:16:45 pm

Hello Rafal

Your htaccess works fine on my server. What is the problem? What happens when you try to access the sitemap.xml file?

Claudia

Rafal Zrobecki

Wednesday 20 December 2006 3:54:38 pm

hi Claudia

this is what i get:

Module not found

The requested module sitemap.xml could not be found.

Possible reasons for this are:

    * The module name was misspelled, try changing the URL.
    * The module does not exist on this site.
    * This site uses siteaccess matching in the URL and you didn't supply one, try inserting a siteaccess name before the module in the URL .

apart from the changes in .htaccess I asked my admin to make changes for my account

<VirtualHost x>
   <Directory x>
       Options FollowSymLinks
       AllowOverride None
   </Directory>

   <IfModule mod_php4.c>
       php_admin_flag safe_mode Off
       php_admin_value register_globals    0
       php_value magic_quotes_gpc  0
       php_value magic_quotes_runtime  0
       php_value allow_call_time_pass_reference 0
   </IfModule>

   DirectoryIndex index.php

   <IfModule mod_rewrite.c>
       RewriteEngine On
       Rewriterule ^/var/storage/.* - [L]
       Rewriterule ^/var/[^/]+/storage/.* - [L]
       RewriteRule ^/var/cache/texttoimage/.* - [L]
       RewriteRule ^/var/[^/]+/cache/texttoimage/.* - [L]
       Rewriterule ^/design/[^/]+/(stylesheets|images|javascript)/.* - [L]
       Rewriterule ^/share/icons/.* - [L]
       Rewriterule
^/extension/[^/]+/design/[^/]+/(stylesheets|images|javascripts?)/.* -
[L]
       Rewriterule
^/packages/styles/.+/(stylesheets|images|javascript)/[^/]+/.* - [L]
       RewriteRule ^/packages/styles/.+/thumbnail/.* - [L]
       RewriteRule ^/favicon\.ico - [L]
       RewriteRule ^/robots\.txt - [L]
       # Uncomment the following lines when using popup style debug.
       # RewriteRule ^/var/cache/debug\.html.* - [L]
       # RewriteRule ^/var/[^/]+/cache/debug\.html.* - [L]
       RewriteRule .* /index.php
   </IfModule>

   DocumentRoot x
   ServerName x   
   ServerAlias x
</VirtualHost>

http://www.zrobecki.com

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu