PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Mon Mar 30, 2020 8:29 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Wed Dec 02, 2009 5:01 pm 
Offline
Forum Contributor

Joined: Thu Sep 03, 2009 9:09 am
Posts: 196
Location: UK
Hi all,

front end designer trying to learn to get his hands dirty at the back end and
having a lot of fun learning php / mysql.

I've installed CakePHP on my Linux server and following the instruction for a good installation it asks me to
edit httpd.conf to ensure that mod_rewrite is working properly.

This is completely Greek to me and I have no idea how to even find the file "httpd.conf" let alone
edit it - very grateful if could someone please point me in the right direction ?
Please be aware that I'm using an Intel Mac not a Windows PC.

Best wishes
Monty


Top
 Profile  
 
PostPosted: Wed Dec 02, 2009 5:55 pm 
Offline
Forum Contributor
User avatar

Joined: Wed Sep 09, 2009 5:55 am
Posts: 323
Location: Australia
httpd.conf is usually stored within the Apache directory (if that is your web server)


Top
 Profile  
 
PostPosted: Wed Dec 02, 2009 6:30 pm 
Offline
Forum Contributor

Joined: Thu Sep 03, 2009 9:09 am
Posts: 196
Location: UK
Hmmmm...

according to
Syntax: [ Download ] [ Hide ]
 
<?php phpinfo(); ?>
 


the server is running Apache/2.2.3 (CentOS)

but (via ftp) the root looks like this:

Image

Do I need to connect up with something other then ftp to see the files ?
If so, any suggestions as to what and how from the Intel Mac ?

Best wishes
Monty


Top
 Profile  
 
PostPosted: Wed Dec 02, 2009 6:48 pm 
Offline
Site Admin
User avatar

Joined: Tue Dec 23, 2003 3:10 am
Posts: 11470
Location: Toronto
The FTP user normally will have access only to the webroot, not the webserver's root. You would need to SSH into the box with an SSH client, then from there you can modify yours servers configuration files using a text editor such as vi.


Top
 Profile  
 
PostPosted: Wed Dec 02, 2009 7:15 pm 
Offline
Forum Contributor

Joined: Thu Sep 03, 2009 9:09 am
Posts: 196
Location: UK


Top
 Profile  
 
PostPosted: Wed Dec 02, 2009 7:39 pm 
Offline
Forum Contributor

Joined: Sun Sep 09, 2007 6:27 pm
Posts: 282
In CentOS you'll find apache configurations in /etc/httpd/conf/

Often you will use .htaccess to enable mod_rewrite for a particular directory.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group