|
nutballs
|
 |
« on: September 19, 2008, 03:45:40 PM » |
|
I just got a VPS running CentOS. I took the lazy route, and used Plesk to set up a new domain. I then uploaded my code via FTP to the new directory for that domain.
But when I "preview" via plesk, it won't parse the PHP, and instead just spits it all out as as HTML/text.
What did I miss? or does the plesk preview not execute/parse php?
|
|
|
|
|
Logged
|
I could eat a bowl of Alphabet Soup and shit a better argument than that.
|
|
|
|
nutballs
|
 |
« Reply #1 on: September 19, 2008, 03:57:33 PM » |
|
nevermind. it was my .htaccess file blowing something up...
|
|
|
|
|
Logged
|
I could eat a bowl of Alphabet Soup and shit a better argument than that.
|
|
|
|
perkiset
|
 |
« Reply #2 on: September 19, 2008, 04:01:20 PM » |
|
If you don't have the app-type set up in Apache then you'll get that sort of thing.
|
|
|
|
|
Logged
|
It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
|
|
|
|
Bompa
|
 |
« Reply #3 on: September 19, 2008, 05:20:33 PM » |
|
Check your .htaccess file, it might be blowing things up.
(This has been a test of the AskBompa beta system.)
|
|
|
|
|
Logged
|
Whenever I point my finger, I have three pointing back at me.
|
|
|
|
nutballs
|
 |
« Reply #4 on: September 19, 2008, 06:41:12 PM » |
|
echo? is there an echo? lol bomps
|
|
|
|
|
Logged
|
I could eat a bowl of Alphabet Soup and shit a better argument than that.
|
|
|
e_d
Rookie

Offline
Posts: 14
Buckets of rain, buckets of tears...
|
 |
« Reply #5 on: September 20, 2008, 08:04:01 AM » |
|
it could be your .htaccess file. you might wanna check it...oh yeah and
|
|
|
|
|
Logged
|
No links in signatures please
|
|
|
|
leadegr00t
|
 |
« Reply #6 on: September 20, 2008, 03:44:33 PM » |
|
and this, of course, is why you always drop your passwords outside the document root. (Had a host blow up the server once so all the php was exposed! eek!)
|
|
|
|
|
Logged
|
No links in signatures please
|
|
|
|
dink
|
 |
« Reply #7 on: September 20, 2008, 07:34:36 PM » |
|
I'll take a wild assed guess on this one. Might be your htaccess is fubar
|
|
|
|
|
Logged
|
[quote Nutballs] the universe has a giant fist, and its got enough whoop ass for everyone. [/quote]
|
|
|
|
nutballs
|
 |
« Reply #8 on: September 20, 2008, 10:11:41 PM » |
|
ya know. I think it might be my htaccess. what do you guys think?
|
|
|
|
|
Logged
|
I could eat a bowl of Alphabet Soup and shit a better argument than that.
|
|
|
|
leadegr00t
|
 |
« Reply #9 on: September 20, 2008, 10:17:40 PM » |
|
or the httpd.conf
|
|
|
|
|
Logged
|
No links in signatures please
|
|
|
|
dink
|
 |
« Reply #10 on: September 21, 2008, 12:56:23 PM » |
|
ya know. I think it might be my htaccess. what do you guys think?
I think you're on the right track now, NB's. 
|
|
|
|
|
Logged
|
[quote Nutballs] the universe has a giant fist, and its got enough whoop ass for everyone. [/quote]
|
|
|
|