Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter flashingcurser

    (@flashingcurser)

    This is an option because he has ftp access to the server, mostly to upload files for other non-wordpress domains. This is quite common I assure you.

    This is not a php problem, you don’t seem to understand the question. Suexec has absolutely nothing to do with this. Maybe if I restate it you will understand.

    How would one set up a server with ftp access for uploads and wordpress to play nice? Without having the owner of apache process (system account) having a password, yet still allow users to upload content that the server could use. My way works great, the user has to change permissions on the items he uploads. Mostly in the archives folders where the user is uploading his own material.

    As second thought, I see this forum is mostly for developers. Not admins. If a kindly moderator could move this post to a forum that is more appropriate I would appreciate it.

    Thread Starter flashingcurser

    (@flashingcurser)

    I dual boot with slackware– maybe I just need to forget windows. I have been gaming alot lately though….

    Thanks

    dan

    Thread Starter flashingcurser

    (@flashingcurser)

    The win2k box seems to be ignoring the host file… I’ll explore that some more. (Come to think of it, it may be antispyware doing something to the host file.)

    Thanks

    dan

    Thread Starter flashingcurser

    (@flashingcurser)

    Anyone setup bind to resolve https://mysite.org to 192.168.5.50?

    How about an internet proxy?

    Anyone using either to solve this?

    Thread Starter flashingcurser

    (@flashingcurser)

    The webserver on my network resides in a local network. I use portforwarding from my router so that the outside world can access it. WordPress does not like to be accessed from the local network— https://192.168.5.50 as an example. If you try– it will show a couple of links (no theme or any thing) that if clicked on will give a 404. It can only be accessed correctly from my fqdn– https://mysite.org on a browser outside my local network. The problem is that if you type in https://mysite.org to a web brouser within my local network– I get my router admin.

    (A router cannot forward from inside back to inside– once dns tranlates the fqdn then your browser only knows the address– that address from inside the network is simply the router.)

    A search for “local network” will give many unanswered posts.

    https://www.ads-software.com/support/topic.php?id=29602

    Thanks

    dan

    Thread Starter flashingcurser

    (@flashingcurser)

    Could I set the files/directorys to the one running apache?

    Security-wise it is a bad idea to have stuff running as a user that doesnt exist on the system. (Or miss-matched gid and uid in the passwd file.)

    ex:

    chown -R apache:apache /var/www/wordpress/*

    Thread Starter flashingcurser

    (@flashingcurser)

    A little primer for people not used to unix permissions–

    In the example above 755

    7 is the permission for the OWNER/ the first 5 is for the file or directory’s GROUP/ and the second 5 is for EVERONE else.

    What do the numbers mean? It is addition 1=execute, 2=write and 4=read

    In the example the OWNER could read, write and execute (1+2+4=7), the GROUP could execute and read (1+4=5) and EVERYONE ELSE could also read and execute (1+4=5)

    The question is who should be the owner and what group should they be in? I would assume that it would be the owner/group of the webserver, but before I screw it up real well… I though I should ask.

    dan

    Thread Starter flashingcurser

    (@flashingcurser)

    Ya, so what user/group are they? think unix hehe (subfolders/.htaccess)

    by default the group is 1025 and the user is 1011– this is not a user or group on my system.

    dan

    Thread Starter flashingcurser

    (@flashingcurser)

    Ya actually. ?? I figured out that the permissions on one theme were not right– changed the permission and it started working.

    By the way what user/group should the files for wp be set too? The default is very odd.
    dan

Viewing 9 replies - 1 through 9 (of 9 total)