Bugs » .htaccess files messed up on creation

added on Aug 14, 2007 by Allan Drake
The .htaccess file under the folder "data" seems to be corrupt or not letting anything happen (file access,
moving, deleting). This happens everytime I've installed it. I haven't changed anything. This prevents php from grabbing
the link data too (so it gives a php error) and the SSI doesnt work.

It won't allow me to edit .htaccess, or edit anything under "data" folder after install. I can only delete the
entire linkex directory from my server control panel to get rid of it.
added on Aug 14, 2007 by Allan Drake
in fact, I have to create a blank .htaccess file in the linkex directory just to be able to delete everything. I know it
might be server related, but maybe there is some kind of fix....
added on Aug 14, 2007 by v0id
Hi,

What OS are you using? And which httpd and FTP server are you using?

I have never had any problems with the .htaccess on Apache.

The .htaccess in the linkex/data folder is simply denying access to eveyone, while the one in linkex/data/output is
allowing access to everyone since they are safe for public.

- v0id
added on Aug 15, 2007 by Allan Drake
Its a linux host. It just doesnt seem to want to serve up the file, and its making them tough to delete or modify
directories. Is there some code in the install that I can modify?
added on Aug 15, 2007 by Allan Drake
I just tried to delete the .htaccess code in the install script, but It seems like I'm having the same problem after I
install. I'm not sure what my host doesnt like about it, and why it would give me these same problems. Its just kinda
weird.
added on Aug 27, 2007 by v0id
it sounds pretty strange.
Can I ask you to check the permissions and the ownership of the files inside the data directory?

- v0id
added on Oct 12, 2007 by stuart
i had the same problem - in fact i just posted the question myself
(in the wrong forum - moderator please delete my 3 posts in
'announcements'), and then solved it.

if you take the default link that it generates, such as
<?php include( "/usr/www/virtual/simonsch/demo.linkex.dk/linkex/data/output/1001" ); ?>
(taken from the demo) and change it to reflect the full & complete
URL - it solves the problem.

don't know why - but it does......

regards,
stuart halpryn
http://InternetMarketingProfitCenter.com
http://NetActivated.com
added on Oct 12, 2007 by v0id
hi,

when you say the full URL, do you mean a http:// URL? in that case you should change it to the path, since there is a
lot of overhead involved in including an URL.

- v0id

Add reply

This thread has been inactive for more than 14 days, so it has been locked.

Feel free to create a new thread with your questions.