Mark Sargent wrote:
Chris wrote:
There's your problem.
service httpd restart
will most likely restart /usr/sbin/httpd.
That's not the same as /usr/local/apache2
Remove the rpm to save confusion next time:
rpm -e httpd
then when you need to restart, always use the
/usr/local/apache2/bin/a
Chris wrote:
There's your problem.
service httpd restart
will most likely restart /usr/sbin/httpd.
That's not the same as /usr/local/apache2
Remove the rpm to save confusion next time:
rpm -e httpd
then when you need to restart, always use the
/usr/local/apache2/bin/apachectl file.
Hi All
Mark Sargent wrote:
Chris wrote:
Sounds like you're using the wrong script to restart apache.
What command are you using?
service httpd restart
Rebooting will most likely pick up the /etc/init.d/apache or
/etc/init.d/httpd script.
Have this in /etc/rc.local on Fedora 5,
startApache=/us
Mark Sargent wrote:
Chris wrote:
Big security issue - don't do it.
>ps au | grep apache
root /usr/sbin/apache
htdocs /usr/sbin/apache
htdocs /usr/sbin/apache
My apache is running as "htdocs". So as root create a temp folder and
chown it to "htdocs":
mkdir /my_temp
Chris wrote:
Sounds like you're using the wrong script to restart apache.
What command are you using?
service httpd restart
Rebooting will most likely pick up the /etc/init.d/apache or
/etc/init.d/httpd script.
Have this in /etc/rc.local on Fedora 5,
startApache=/usr/local/apache2/bin/apac
Mark Sargent wrote:
Chris wrote:
Big security issue - don't do it.
>ps au | grep apache
root /usr/sbin/apache
htdocs /usr/sbin/apache
htdocs /usr/sbin/apache
My apache is running as "htdocs". So as root create a temp folder and
chown it to "htdocs":
mkdir /my_temp
Chris wrote:
Big security issue - don't do it.
>ps au | grep apache
root /usr/sbin/apache
htdocs /usr/sbin/apache
htdocs /usr/sbin/apache
My apache is running as "htdocs". So as root create a temp folder and
chown it to "htdocs":
mkdir /my_temp_dir
chown htdocs. /my
Mark Sargent wrote:
Chris wrote:
I should say check your httpd.conf file for "User" and "Group" - they
are capitalized.
Alternatively:
ps aux | grep httpd
yes, did that one and see it as starting as root, then goijg to daemon.
Now, if I add daemon to the root group, isn't that a security
Chris wrote:
I should say check your httpd.conf file for "User" and "Group" - they
are capitalized.
Alternatively:
ps aux | grep httpd
yes, did that one and see it as starting as root, then goijg to daemon.
Now, if I add daemon to the root group, isn't that a security issue?
Should I create
Mark Sargent wrote:
Jochem Maas wrote:
NO - DONT EVER DO THIS tmp/session files should not be stored in a
directory that
can be [potentially] read via http.
.htaccess directives can be used to block access to the dir BUT I
still would recommend
keeping 'tmp' outside of the web root.
ju
Mark Sargent wrote:
Jochem Maas wrote:
NO - DONT EVER DO THIS tmp/session files should not be stored in a
directory that
can be [potentially] read via http.
.htaccess directives can be used to block access to the dir BUT I
still would recommend
keeping 'tmp' outside of the web root.
ju
Jochem Maas wrote:
NO - DONT EVER DO THIS tmp/session files should not be stored in a
directory that
can be [potentially] read via http.
.htaccess directives can be used to block access to the dir BUT I
still would recommend
keeping 'tmp' outside of the web root.
just make sure 'tmp' is
Sounds to me like your boot scripts are using a different httpd.conf
than the one you are using when you re-start it by hand.
Once you accept that proposition, you're looking at some OTHER issue
in the by-hand httpd.conf that is screwing up the URLs, probably
mod_rewrite or messed up VirtualHosts
nicolas figaro wrote:
...
try to set it to a subdirectory of your DocumentRoot. (check httpd.conf
for the DocumentRoot).
(/www/root/default_vhost/tmp for example, if /www/root/default_vhost is
your DocumentRoot).
NO - DONT EVER DO THIS tmp/session files should not be stored in a
directo
Mark Sargent a écrit :
Hi All,
I get this,
Not Found
The requested URL /movie1.php was not found on this server.
Apache/2.2.0 (Fedora) Server at localhost Port 80
when setting session.save_path to /tmp in /usr/local/l
Hi All,
I get this,
Not Found
The requested URL /movie1.php was not found on this server.
Apache/2.2.0 (Fedora) Server at localhost Port 80
when setting session.save_path to /tmp in /usr/local/lib/php.ini.
Even if I ch
16 matches
Mail list logo