I am trying to run both web and FTP servers from same FAT system stored in serial flash. Both working fine separately, but I can’t make them run together. My intention is being able to upgrade web pages through password protected FTP, but web server may go down at that time.
At first it seams as simple as rule table entry for each service,
SSPEC_RULETABLE_START SSPEC_MM_RULE("/A", "foo", 0xFFFF, FOO_GROUP, SERVER_FTP, SERVER_AUTH_BASIC, NULL), SSPEC_MM_RULE("/A", NULL, 0xFFFF, 0xFFFF, SERVER_HTTP, SERVER_AUTH_NONE, NULL), SSPEC_RULETABLE_END
It didn’t help. I can only make one server work properly but not both at the same time.
Remove first rule and web server works, but FTP get blocked. Add it back and it reverses the situation.
Is any one has working example for both servers working together?