Forum Moderators: phranque

Message Too Old, No Replies

I think it's a .htaccess file problem, pretty noobie I guess

         

takist

8:34 am on Mar 17, 2009 (gmt 0)

10+ Year Member



Hi, I've been working on a LAMP wich will be serving as a intranet server for the company I work for. I got everything pretty much installed and configured, and locally everything is running and working. I'am using Wordpress as an easy temporary cms so I know php mysql are up and running, and they do.

When I'am contacting my server from a remote user, I get to see my index.php page but without any css. When I try to go deeper in the directory tree, e.g. index.php/folder/this.php, the server won't find anything and returns a page not found.

I have been googling and checking forums and found information about the listen.conf and httpd.conf files and configured them to my DNS and IP information. I think they are correct because the server responds locally to the url request

But I can't find a .htaccess file anywhere, this is probably the problem? (think, hope so:) I just can't find any sort of tutorial on how to create your own .htaccess file... Could someone point me to a template file (do they exist) or post the syntax how it should be written...

Also why wouldn't a straight install of apache create a .htaccess file?

Any help is much, much applied...

[edited by: coopster at 10:47 am (utc) on Mar. 17, 2009]
[edit reason] removed url TOS [webmasterworld.com] [/edit]

coopster

10:51 am on Mar 17, 2009 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, takist.

.htaccess [httpd.apache.org] files (or "distributed configuration files") provide a way to make configuration changes on a per-directory basis. Since you have control over the conf files, you really won't need to use them. I recommend you read that linked resource and keep the Apache documentation for your server version handy.