Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


xpd

xpd

Geek of Coastguard
14116 posts

Uber Geek
+1 received by user: 4579

Retired Mod
ID Verified
Trusted
Lifetime subscriber

#22264 22-May-2008 14:24
Send private message

OK, Im pretty sure Ive hit this problem before but cannot for the life of me remember how to fix it......

Running XAMPP (PHP, SQL, APACHE etc) on a Windows box...

Browsing to http://192.168.1.102/wordpress gives me wordpress in all its glory... but I want to make the server direct straight to the wordpress directory.

So I edited the httpd.conf file to change the default directory path to wordpress. It worked, BUT, Wordpress is no longer using the CSS stylesheets etc, which obviously makes the pretty much useless.

The entries I modified were :

DocumentRoot "C:/xampp/htdocs" to DocumentRoot "C:/xampp/htdocs/wordpress/"

"<Directory "C:/xampp/htdocs">"  to "<Directory "C:/xampp/htdocs/wordpress">" (quotes added else GZ forums think its code)

What have I missed to make the CSS be ignored ?

TIA




XPD / Gavin

 

LinkTree

 

 

 


Create new topic

xpd

xpd

Geek of Coastguard
14116 posts

Uber Geek
+1 received by user: 4579

Retired Mod
ID Verified
Trusted
Lifetime subscriber

  #132719 23-May-2008 09:20
Send private message

Bingo, case closed :)

Notes here for myself in case I forget again hehe...

Although the httpd.conf had been modified to reflect the redirection, the Wordpress configuration was still looking at the old locations - updated the locations in the settings and its working now :)




XPD / Gavin

 

LinkTree

 

 

 


Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.