PDA

View Full Version : Broken links


mishooo13
03-19-2005, 12:39 PM
Dear ,

After I install your Articlelive and create a category, auther, categories
and after submitted the pages
the main page is very nice and the news are shown in it , BUT all the links in the page are going to page cannot be found !!!
such as Full story, Author, News, Search , etc.........

Can I know what is the problem or is there any hidden process I didn't do while I'm installing it

Thank you

Chroder
03-19-2005, 05:28 PM
There is supposed to be a .htaccess file in your downloaded archive that sets forcetype on some files.

It wasn't in my archive, either. I had to make it myself. Here is the contents of mine:
<Files categories>
ForceType application/x-httpd-php
</Files>

<Files articles>
ForceType application/x-httpd-php
</Files>

<Files pages>
ForceType application/x-httpd-php
</Files>

<Files blogs>
ForceType application/x-httpd-php
</Files>

<Files authors>
ForceType application/x-httpd-php
</Files>

<Files search>
ForceType application/x-httpd-php
</Files>

mishooo13
03-20-2005, 12:18 AM
Thank you for helpful spirit
my .htaccess file has the same code and a tag in the top of the page as follows

< Files *.xslt>
forcetype text/xml
</Files>

And I have a question do I must create 6 folders as the following in the root of the application with the following names :
categories , articles , pages , blogs, authors , search ??

Thank you

Chroder
03-20-2005, 03:29 AM
They should be actual PHP scripts, just withouth the .php extensions. That is the need for the .htaccess script, because the server needs to know that the extensionless files should be parsed as PHP.

Are you on an Apache server? IIS doesn't support .htaccess (unless you install a special module).

mishooo13
03-20-2005, 11:06 AM
I tried the both Apache server & IIS and the same problem
is there any code that I write in the pages
I didn't write any code in it till now

Chris S
03-20-2005, 11:45 PM
No.

If you post a support ticket with your ftp details we'll have a look at it for you and get it fixed.

I tried the both Apache server & IIS and the same problem
is there any code that I write in the pages
I didn't write any code in it till now

Chris S
03-20-2005, 11:46 PM
Wow, I didn't know IIS supported .htaccess files (then again I haven't researched it), can you send me a link to more info about that? (either here or private msg)...

Thanks!

They should be actual PHP scripts, just withouth the .php extensions. That is the need for the .htaccess script, because the server needs to know that the extensionless files should be parsed as PHP.

Are you on an Apache server? IIS doesn't support .htaccess (unless you install a special module).

Chroder
03-21-2005, 12:35 AM
Sorry, I was mistaken. I was thinking of ISAPI_Rewrite (http://www.isapirewrite.com/). Good for rewriting extensionless URL's, still ;)

Chris S
03-21-2005, 11:17 PM
Cool :) That might come in handy anyway :)

Sorry, I was mistaken. I was thinking of ISAPI_Rewrite (http://www.isapirewrite.com/). Good for rewriting extensionless URL's, still ;)

Chroder
03-22-2005, 03:20 AM
I think there's a free one out too, by a different company..

Chris S
03-30-2005, 12:54 AM
Very nice...

I've heard that Apache on Windows supports .htaccess files but I haven't tested that myself, has anyone else ?

I think there's a free one out too, by a different company..

Chroder
04-02-2005, 12:16 AM
Yes, Apache on Windows supports .htaccess. I'm pretty sure Apache runs quite the same cross platform.

I run Apache for local testing all the time. I'm never touching IIS again :p

Chris S
04-04-2005, 01:56 AM
Awesome, thanks for that... I'll update our requirements page and put this somewhere.

Yes, Apache on Windows supports .htaccess. I'm pretty sure Apache runs quite the same cross platform.

I run Apache for local testing all the time. I'm never touching IIS again :p