problem with URL e htaccess settings

General discussions related to php

Moderators: macek, egami, gesf

User avatar
delizard
New php-forum User
New php-forum User
Posts: 2
Joined: Wed Oct 10, 2012 4:41 am
Location: Livorno, Tuscany (Italy)
Contact:

problem with URL e htaccess settings

Postby delizard » Wed Oct 10, 2012 5:02 am

Hi,

i'm new in your forum so, first af all, a greeting to all and thanks! :)

My problem is:
i use, like backend of my website, Joomla CMS and specifically SobiPRO component.
The frontend of my website is developed by myself, free from joomla.

When i use, by Admin area, SobiPRO to upload file on the server, the component crete automatically a new directory with inside the file uploaded and an .htaccess file with this rule:

<Files *>
Order Deny,Allow
Deny from all
Allow from localhost
</Files>

Now, for example, if i link a the file uploaded in my server with this URL: http://www.xxxxxxxxx.com/gestione/media/100/file.pdf , the server stops me and tells me that I'm not allowed!!

So: How can a re-write the URL so that the server recognizes my call like from localhost? Or you have other solutions?

I hope in your suggestions, i need help!
thanks very much :)

bye!

seandisanti
php-forum Fan User
php-forum Fan User
Posts: 838
Joined: Mon Oct 01, 2012 12:32 pm

Re: problem with URL e htaccess settings

Postby seandisanti » Wed Oct 10, 2012 9:43 am


User avatar
delizard
New php-forum User
New php-forum User
Posts: 2
Joined: Wed Oct 10, 2012 4:41 am
Location: Livorno, Tuscany (Italy)
Contact:

Re: problem with URL e htaccess settings

Postby delizard » Wed Oct 10, 2012 10:03 am

Hi,

thanks for your suggest but I haven't access to the server...

It's possible to do something similar only using php?

Thanks,
bye!

seandisanti
php-forum Fan User
php-forum Fan User
Posts: 838
Joined: Mon Oct 01, 2012 12:32 pm

Re: problem with URL e htaccess settings

Postby seandisanti » Wed Oct 10, 2012 12:42 pm



Return to “PHP General”

Who is online

Users browsing this forum: No registered users and 1 guest

cron