![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| freeBSD installation | AkinOkin | Linux | 2 | 09-14-2006 09:30 AM |
| FreeBSD / KDE installation woes... | ForestryJim | BSD | 1 | 09-27-2005 12:22 PM |
| Wi0 d-link DWL-510 installation on freebsd | termiEEE | UNIX for Dummies Questions & Answers | 0 | 04-27-2004 04:13 AM |
| Some FreeBSD issues | cbkihong | UNIX for Dummies Questions & Answers | 16 | 06-14-2003 11:06 PM |
| FreeBSD 4.7 X issues - assistance req'd please | Calum | UNIX Desktop for Dummies Questions & Answers | 1 | 02-03-2003 05:16 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#8
|
||||
|
||||
|
Interesting, in the apache configs I've worked with they install under a single tree with the root at /usr/local/apache .... including configuration files, log files, documents, etc.
Thanks for clarifying on how your system has been configured. |
| Forum Sponsor | ||
|
|
|
#9
|
|||
|
|||
|
alright... i took a look at the config file. i really don't know how to read it... but things seemed to be in order.
i then looked at the example again and noticed something in their hosts file. i changed the generic alias of 127.0.0.1 to something else, re-ran apachectl and things worked. but, now, another problem has arisen. do mozilla and ie 6 support php? because when i open the webpage, i don't get a webpage, i just get a list of code. |
|
#10
|
||||
|
||||
|
PHP / HTML is supported in the Web server, not the browser/clients. You mujst to configure your server to work with PHP. That is not trivial and can take a lot of work!
I suggest a good book on PHP and Apache, or search the web with Google for step-by-step instructions. |
|
#11
|
|||
|
|||
|
is this tutorual misleading then? it doesn't mention any complex configuration with php and apache.
it asks that you install the following: idled, mozilla, wget, phplot, adodb, libnet, snort, acid. it also gives a very threadbare set of instructions for setup. |
|
#12
|
||||
|
||||
|
If Snort uses PHP, you need to configure Apache and PHP. I also think Snort might use a database like MySQL, is that right?
|
|
#13
|
|||
|
|||
|
i got it working... there were a few things that needed to be done to get this working.
as for using MySQL, it's an added bonus i guess. you don't need to use snort with mysql... but then the vanilla configuration had it outputting everything into a single log file, which is about 10mb's right now. :/ first i needed to add/reinstall the following packages: mod_perl-1.27 Embeds a Perl interpreter in the Apache server mod_php3-3.0.18_3 PHP3 module for Apache mod_php4-4.3.0 PHP4 module for Apache i needed to add the php packages with mysql support (i used that gui-ish interface to do it) then i needed to to into the httpd.conf file and add the following: AddModule mod_php.c AddModule mod_php3.c AddModule mod_perl.c LoadModule php3_module modules/libphp3.so LoadModule php4_module modules/libphp4.so LoadModule perl_module modules/libperl.so AddType application/x-httpd-php3 .php3 AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps things seem to be working now... however i do get the following error in the webpage: ---- Warning: Unknown(): Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in Unknown on line 0 |
|
#14
|
||||
|
||||
|
|
||||
| Google The UNIX and Linux Forums |